Displaying 3 results from an estimated 3 matches for "soiltyp".
Did you mean:
soiltype
2006 Aug 23
0
Random structure of nested design in lme
...uggestion, this appears to solve my problem to a great extend.
However, one of my response variables is survival of my plants, which is a binary variable (alive = 1; dead = 0). To analyze this case, I added family = "binomial" to the command line:
fit.lme4 <- lmer(binary.response~soiltype*habitat+(1|destination)+(1|origin), Dat0, family = "binomial")
> anova(fit.lme4)
Analysis of Variance Table
Df Sum Sq Mean Sq Denom F value Pr(>F)
soiltype 1 0.029 0.029 32.000 0.0238 0.8784
habitat 1 0.029 0.029 32.000 0.0238 0.8...
2006 Jul 19
1
Random structure of nested design in lme
...such way that in each of the sites there were six pots containing arable soil and six pots of grassland soil, each containing a seedling.
With aov(), I got the analysis as I expected, with habitat type tested against destination site, and soil type tested against origin site:
summary(aov(response~soiltype*habitat+Error(destination+origin)))
#
#Error: destination
# Df Sum Sq Mean Sq F value Pr(>F)
#habitat 1 1.0000 1.0000 0.699 0.4226
#Residuals 10 14.3056 1.4306
#
#Error: origin
# Df Sum Sq Mean Sq F value Pr(>F)
#soiltype 1 1.77778 1.77778 1...
2005 Nov 17
8
Point pattern to grid
Dear all,
I'd like to change a point pattern to a grid of cells and use one of the variables as the output.
e.g. The point pattern is of a window of (500*500) and several features such as pH, SoilType etc. I like to divide it into a grid with cell size 5*5, and use the mean of the point values falling inside the cell as the output.
Is there any package in R working with this? Thanks in advance!
Cheers,
Leaf