Displaying 2 results from an estimated 2 matches for "m_r_20100718_winterm_envi_vegan".
2010 Jul 17
1
data.frame required for cca in ade4
...t data.frame is required.
Please kindly share how to convert a csv-imported file to a data.frame.
Thank you.
Elaine
code
rm(list=ls())
spec <-read.csv("c:/migration/M_R_20100718_winterM_spec_vegan.csv",header=T,
row.names=1)
dim(spec)
spec[1,]
envi <-read.csv("c:/migration/M_R_20100718_winterM_envi_vegan.csv",header=T,
row.names=1)
dim(envi)
envi[1,]
library(ade4)
w.cca <- cca(spec$WinterM_ratio, envi, scan=TRUE)
error in cca(spec$WinterM_ratio, envi, scan = FALSE) :
data.frame expected
[[alternative HTML version deleted]]
2010 Jul 17
1
cca in ade4
...nk) nf <- rank R
missing value in TRUE/FALSE
Please kindly help how to modify the code below.
Thank you.
Elaine
code
rm(list=ls())
spec <-read.csv("c:/migration/M_R_20100718_winterM_spec_vegan.csv",header=T,
row.names=1)
dim(spec)
spec[1,]
envi <-read.csv("c:/migration/M_R_20100718_winterM_envi_vegan.csv",header=T,
row.names=1)
dim(envi)
envi[1,]
library(ade4)
w.cca <- cca(spec, envi, scan=TRUE)
[[alternative HTML version deleted]]