Skip to content

Commit

Permalink
rkmeans
Browse files Browse the repository at this point in the history
  • Loading branch information
ytarazona committed Feb 16, 2021
1 parent fd15610 commit 25abbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rkmeans.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#'
#' @export
#'
rkmeans <- function(img, k, iter.max = 100, nstart = 50, algo = c("Hartigan-Wong", "Lloyd", "Forgy", "MacQueen"), verbose = FALSE, ...){
rkmeans <- function(img, k, iter.max = 100, nstart = 50, algo = c("Hartigan-Wong", "Lloyd", "Forgy", "MacQueen"), ...){

vr <- getValues(img)
i <- which(!is.na(vr)) # NA positions
Expand Down

0 comments on commit 25abbce

Please sign in to comment.