Re: [R] renaming intercept column when retrieving coeficients from lme using coef function

2009-09-25 Thread jim holtman
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

[R] renaming intercept column when retrieving coeficients from lme using coef function

2009-09-25 Thread Eric McKibben
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