Displaying 2 results from an estimated 2 matches for "prec_max".
Did you mean:
prec_idx
2010 Aug 17
2
Independent variables omitted in lm and glm
...quot;,header=T,
row.names=1)
dim(datam)
datam[1,]
# original regression model (16 indep. variables)
Mig.lm
<-lm(datam$SummerM_ratio~datam$temp_ran+datam$temp_mean+datam$temp_max+datam$temp_min+datam$evi_ran+datam$evi_mean+datam$evi_max+datam$evi_min+datam$prec_ran+datam$prec_mean+datam$prec_max+datam$prec_min+datam$topo_var+datam$topo_mean+datam$coast+datam$Iso_index_0808,data=datam)
summary(mig.lm)
mig.glm
<-glm(datam$SummerM_ratio~datam$temp_ran+datam$temp_mean+datam$temp_max+datam$temp_min+datam$evi_ran+datam$evi_mean+datam$evi_max+datam$evi_min+datam$prec_ran+datam$prec_m...
2010 Jul 17
2
cca in vegan (formula instead of community matrix data)
...1.17-3
Warning message:
package 'vegan' was built under R version 2.10.1
rm(list=ls())
library(vegan)
datam <-read.csv("c:/migration/M_R_20100707_winterM.csv",header=T,
row.names=1)
dim(datam)
datam[1,]
m.cca <-
cca(datam$WinterM_ratio~datam$topo_mean+datam$coast+datam$prec_max
+datam$temp_min+datam$evi_min, datam)
error in cca.default(d$X, d$Y, d$Z) :
All row sums must be >0 in the community data matrix
[[alternative HTML version deleted]]