## 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')
# ## End(Not run)
Run the code above in your browser using DataLab