Hi,

I have a question about the lme function in R.  My question is: After I got
the object from function lme, why the  numIter value of the object is always
NULL? Following is my code:



jjww<-lme(y~x*zz,data=simul,random=~x|group,
control=lmeControl(returnObject=TRUE))

attributes(jjww)

jjww$numIter

the first 20 observation of data simul are:


> simul
              y                            x
zz                  group
1    1.20722846  0.173024384  0.13729258     1
2    1.44590474 -0.811427991  0.13729258     1
3    0.18967259 -1.089059105  0.13729258     1
4    0.85942246 -0.078540820  0.13729258     1
5    1.10809195  0.140017015  0.13729258     1
6    1.11560752  1.334947568  0.13729258     1
7    0.69795732 -0.808299003  0.13729258     1
8    1.01416595 -1.138901175  0.13729258     1
9    2.17401880  1.006853317  0.13729258     1
10   0.86281233 -0.591130178  0.13729258      1
11   1.56318651  1.109186912  0.04474967     2
12   0.59594587  2.283456245  0.04474967     2
13   1.22106867 -0.447186704  0.04474967     2
14   1.31123646  0.785552336  0.04474967     2
15   1.25252110 -1.804849152  0.04474967     2
16   0.70395020 -1.128826194  0.04474967     2
17   0.75879178  0.721015450  0.04474967     2
18   3.33620547  0.036974202  0.04474967     2
19   0.54923851 -0.281621023  0.04474967      2
20   0.14961209 -0.973109765  0.04474967     2

Is there any control option to show this jjww$numIter ? Why is it always
NULL?  Did anyone ever get a non-NULL value of it?  I am really confused by
this. Thank you for any help.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to