# NOT RUN {
# }
# NOT RUN {
dune.file <- normalizePath(paste(system.file(package="BiodiversityR"),
'/etc/dunestacked.csv', sep=''))
dune.stacked <- read.csv(dune.file)
# dune.stacked has different variables for sites, species and abundance
head(dune.stacked)
dune.comm2 <- makecommunitydataset(dune.stacked, row='sites', column='species',
value='abundance')
# recreate the original stack
dune.stacked2 <- stackcommunitydataset(dune.comm2, remove.zeroes=T)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab