Skip to content

Commit

Permalink
\dontrun around long tests in mesma.R
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstiDE committed Apr 19, 2024
1 parent c6286c3 commit 17f1224
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/mesma.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
#' # umix the lsat image
#' probs <- mesma(img = lsat, em = em)
#' plot(probs)
#'
#'
#' # to perform a MESMA, use multiple endmembers per class, differntiating them
#' # by a column named 'class':
#' \dontrun{
#' em <- rbind(
#' data.frame(lsat[c(4155, 17018, 53134, 69487, 83704)], class = "forest"),
#' data.frame(lsat[c(22742, 25946, 38617, 59632, 67313)], class = "water")
Expand All @@ -65,6 +66,7 @@
#' # unmix the lsat image
#' probs <- mesma(img = lsat, em = em)
#' plot(probs)
#' }

#'
#' @importFrom terra which.min rast selectRange nlyr
Expand Down
2 changes: 2 additions & 0 deletions man/mesma.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 17f1224

Please sign in to comment.