Displaying 2 results from an estimated 2 matches for "organicmatter".
2017 Jul 18
3
Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC
...a rather than all 9.
> strain.data <- read.xlsx("Dee rhiz.xlsx", sheetName="strain", header = T, row.names = 1)
> env.data <- read.xlsx("Dee rhiz.xlsx", sheetName="env", header = T, row.names = 1)
> strain.cca <- cca(strain.data ~ Ph+TotalN+Organicmatter+Ca+K+Na+P+Cu+Mn, data=env.data)
> strain.cca
Call: cca(formula = strain.data ~ Ph + TotalN + Organicmatter + Ca + K + Na + P
+ Cu + Mn, data = env.data)
Inertia Proportion Rank
Total 5 1
Constrained 5 1 5
Unconstrained 0 0...
2017 Jul 19
0
Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC
...row.names = 1)
str(strain.data) # lists 9 columns at the end with all NAs
strain.data1 <- (strain.data, sqrt.dist = TRUE) # this is not a valid R line. I get
Error: unexpected ',' in "strain.data1 <- (strain.data,"
strain.cca1 <- cca(log1p(strain.data) ~ Ph + TotalN + Organicmatter + Ca + K + Na + P + Cu + Mn, env.data) # More errors resulting from all the NA values
Error in Math.data.frame(strain.data) :
non-numeric variable in data frame: NA..1NA..2NA..3NA..4NA..5NA..6NA..7NA..8NA..9
You have only 6 observations. In strain.data, since each column has a single 1 and the...