if (FALSE) { # requireNamespace("vegan", quietly = TRUE)
# \donttest{
library(vegan)
x <- matrix(sample(1:5, 50, replace = TRUE), 10, 5)
cs <- nullcat_commsim_seq(method = "curvecat")
nm <- nullmodel(x, cs)
# control the chain with 'thin' and 'burnin'
sims <- simulate(nm, nsim = 999, thin = 100, burnin = 1000)
# }
}
Run the code above in your browser using DataLab