data(bryceveg) # returns a vegetation data.frame called bryceveg
test <- rndcomm(bryceveg,species=TRUE) # preserves species abundance
# distribution
test2 <- rndcomm(bryceveg,plots=TRUE) # preserves plot-level
# species richness
Run the code above in your browser using DataLab