Displaying 1 result from an estimated 1 matches for "cplflorabund".
2013 Jun 07
0
error running mvabund package
...he code (and files are attached):
library(mvabund)
##visualizing data
florabund <- read.csv("CPL_floristics_abund_v1d.csv", header=TRUE)
vegtype <- read.csv("CPL_vegtype_all_v1b.csv", header=TRUE)
transect <- read.csv("CPL_transect_all_v1b.csv", header=TRUE)
cplflorabund <-mvabund(florabund, check.rows=FALSE, check.names=TRUE)
vegtype=as.factor(vegtype$vegtype)
plot(cplflorabund~vegtype) #there is a column called "treatment", and
another called "block"
plot.mvabund(cplflorabund)
##Fitting predictive models
transect=as.factor(transect$transec...