Is this what you want:
> coef.y
(Intercept)
1 0.03109602
2 0.03109602
3 0.03109603
4 0.03109602
> str(coef.y)
Classes ‘coef.lme’, ‘ranef.lme’ and 'data.frame': 4 obs. of 1 variable:
$ (Intercept): num 0.0311 0.0311 0.0311 0.0311
- attr(*, "level")= int 1
- attr(*, "label")= chr "C
I am still fairly new to R and have a fairly rudimentary question. I am
trying to name a vector of coefficients retrieved from a multilevel model
using the coef function. I guess the default name is "Intercept" and I
cannot figure out how to rename it.
I have tried the using the code below
2 matches
Mail list logo