Re: [R] Extracting correlation in a nlme model

2009-05-20 Thread Christine A.
Hello, for calculation of intraclass correlation coefficient for a simple Random Intercept model, the function ICC1.lme() in the package "psychometric" can be applied. Best regards, Christine Adrion Kenneth Roy Cabrera Torres wrote: > > Hi R users: > > Is there a function to obtain the

[R] How to cut data elements included in a text line

2008-07-18 Thread Christine A.
Hello, assume I have an "unstructured" text line from a connection. Unfortunately, it is in string format: R> x [1] "\talpha0\t-0.638\t0.4043\t0.4043\t-2.215\t-0.5765\t-0.137\t501\t2000" How can I extract the data included in this string object "x" in order to get the elements for the paramete

[R] How to calculate Intraclass-coefficient in 2-level Linear Mixed-Effects models?

2008-01-31 Thread Christine A.
Dear R-users, consider a 2-level linear mixed effects model (LME) with random intercept AND random slope for level 1 AND 2. Does anybody know how to calculate Intraclass-coefficient (ICC) for highest (innermost) level 2 ??? In the literature, I did not find an example for these kind of komplex mo