Skip to content

Commit

Permalink
mesma manual: small clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
16EAGLE committed Apr 15, 2024
1 parent 7dc37b1 commit d719fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mesma.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @param verbose Logical. Prints progress messages during execution.
#' @param ... further arguments passed to \link[terra]{writeRaster}.
#'
#' @return SpatRaster. The object will contain one band per endmember, with each value representing the estimated presence probability of the endmember per pixel (0 to 1), and an RMSE band.
#' @return SpatRaster. The object will contain one band per class, with each value representing the estimated probability of the endmember per pixel (0 to 1), and an RMSE band.
#'
#' @details Argument \code{em} determines whether an SMA (each row representing a single endmember per class) or a MESMA (multiple endmembers per class differentiate using the \code{class} column) is computed.
#' If multiple endmembers per class are provided, \code{mesma} will compute a number of SMA (determined by argument \code{n_models}) for multiple endmember combinations drawn from \code{em} and will select the best fit per pixel based on the lowest RMSE.
Expand Down

0 comments on commit d719fcf

Please sign in to comment.