Commit c7ebdf23 authored by Johannes Knoch's avatar Johannes Knoch
Browse files

Merge branch 'master' into adjustments_to_documentation

parents 6873c17d 817e6838
......@@ -79,7 +79,7 @@ sample_nb <- function(raster,
n <- nb_it
sample_size <- r
max_samples_per_class <- sample_size * 5
if (init.seed == "sample") {
if (class(init.seed) == "character" && init.seed == "sample") {
seed2 <- sample(c(1:1000000), size = nb_mean, replace = F)
} else {
seed2 <- init.seed
......
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