Displaying 4 results from an estimated 4 matches for "vegindex".
2012 Oct 04
4
Creating vegetation distance groups from one column
...but I think I am going about this the
wrong way and am not successful.
#Veg index star = resp
Veg.index <- function(values, weights=c(0, 5, 10, 15, 20, 25, 30, 35, 40,
45, 50, 55, 60, 65, 70)) {
star <- values*weights
return(apply(star, 1, sum) / apply(values, 1, sum))
}
data.to.analyze$VegIndex <- Veg.index(data.to.analyze[,c("0", "5", "10",
"15", "20", "25", "30", "35", "40", "45", "50", "55", "60", "65", "70")])
write.csv(data.to.analyz...
2012 Oct 08
2
aov() usage
Hi R-listers,
I am wondering if the function aov() in plyr is appropriate for two
different types of tests:
1) > summary(aov(EDI ~ VegIndex, data=data.to.analyze))
AND
2) > summary(aov(HSuccess ~ VegIndex + Aeventexhumed +
VegIndex:Aeventexhumed, data=data.to.analyze))
the later inclusive of an interaction of the two explanatory variables.
This is for obtaining P value and F statistics.
Please advise, Jean
--
View this mess...
2012 Oct 08
0
Best method for comparing rectangles sections of beach
...102 0 0 102 19.1 79
A 5.70
5 48 125 0 0 290 23.1 34
A 12.20
6 0 4 0 36 666 24.1 34
A 4.82
Berm HTL Estuary Rayos NotHatched DevelopIndex VegIndex HTLIndex
1 NA 4.66 NA Rayos.1 106 3.865169 (6-10) (0-5)
2 NA -2.47 NA Rayos.1 114 4.920213 (16-20) (-5-(-1))
3 NA 16.00 NA Rayos.2 45 5.622517 (0-5) (16-20)
4 NA NA 11.8 Rayos.2 0 1.000000 (6-10) <NA...
2012 Oct 05
3
Anova
Hi R-listers,
I am trying to do an ANOVA for the following scatterplot and received the
following error:
library(car)
scatterplot(HSuccess ~ Veg,
data = data.to.analyze,
xlab = "Vegetation border (m)",
ylab = "Hatching success (%)")
anova(HSuccess ~ Veg, data=data.to.analyze)
Error in UseMethod("anova") :
no applicable