Displaying 3 results from an estimated 3 matches for "0.02915".
Did you mean:
0.0291
2012 Aug 17
3
Apply a function according to factor levels.
Dear all,
I have a question on applying a function to the data according to factor
levels.
For example, for the data below, what is the best way to apply a function
to
"values" according to different levels of "samples" (1,2,3,4,5)?
values ind sample
1 0.03325 1 1
2 0.03305 1 1
3 0.03185 1 1
4 0.03515 1 1
5 0.03375 1 1
6 0.01180
2012 Aug 17
1
Linear mixed model using R
Dear all,
I am trying to use R to fit mixed models.
Take the following example, where ind is a random effect and
sample is fixed. I wanted to fit
Model 1: values = ind + sample
Model 2: values =ind * sample
Model 3: values=ind(sample) + sample
Tried to use the below for mod1, but it did not work. Can anyone give
some help on this. Thanks so much.
mod1 <- lme(values ~ sample +
2010 Aug 18
1
reading lmer table
Dear all,
I'm quite new in R and especially with linear mixed effects models and
I'm not completely sure to read the lmer table in the right way.
for example:
head(march.f)
fam subjID Cond Code reg total first
second log.total log.second cat
3 f 30 an fDan1 3 1.2304688 0.6679688 0.56250000
0.20739519 0.44628710 f