search for: temp_mean

Displaying 3 results from an estimated 3 matches for "temp_mean".

Did you mean: temp_max
2012 May 10
1
envfit output (vegan package) - not sure what it means
...indicates that only a single variable (mean_temp) is significant: ***VECTORS NMDS1 NMDS2 r2 Pr(>r) precip 0.41539 -0.90964 0.2948 0.112887 wind -0.61937 0.78510 0.0441 0.763237 temp_mean 0.50571 -0.86270 0.5839 0.004995 ** pressure -0.66891 0.74334 0.0688 0.622378 --- Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 P values based on 1000 permutations. I understand that the length of the plotted arrows is proportional to th...
2010 Aug 17
2
Independent variables omitted in lm and glm
...ience. Thank you. Elaine Code rm(list=ls()) library(MuMIn) datam <-read.csv("c:/migration/Mig_ratio_20100817.csv",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_r...
2010 Jan 13
3
Operating on each row of data frame
...here are 4 columns . Column 1 : name Column 2-4 : values I would like to calculate mean/Standard error of values in column 2-4 and store them in column 5,6 respectively. I have done the following but doesn't seem to work mean_N_SE <-function(x) { name <- x[1] vals <- c(x[2:4]) temp_mean <- mean(vals) SE <- sqrt(var(x)/length(x)) } apply(d,1,mean_N_SE) where d = data frame. Can someone help me with this. Thanks! -Abhi [[alternative HTML version deleted]]