Commit 444a88ba authored by Romulo Pereira Goncalves's avatar Romulo Pereira Goncalves
Browse files

Merge and fix

parents 2c1357b8 ad49016a
Pipeline #24144 passed with stage
in 9 seconds
......@@ -58,11 +58,11 @@ model_opt_r <- function(k,
}
pbt <- spatialEco::point.in.poly(pbt, area)[, 1:n_channel]
#f <- which(is.na(pbt@data[1]))
#if (length(f) != 0) {
# pbt <- pbt[-f,]
#}
pbt@data <- pbt@data[complete.cases(pbt@data[1]), ]
f <- which(is.na(pbt@data[1]))
if (length(f) != 0) {
pbt <- pbt[-f,]
}
set.seed(seed2[k])
classes <-
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment