[R] Using values from a function with complex output
Richard Reiss
rreiss at sciences.com
Tue Jan 17 21:02:10 CET 2006
I am using the intervals function with a gnls (example below). How can
I use some of the coefficients below in another calculation? Or asked
another way, how do I index these values?
Thanks.
Rick
intervals(yy$fit[[1]])
Approximate 95% confidence intervals
Coefficients:
lower est. upper
A.sexF -0.06399732 -0.05269831 -0.04139930
A.sexM -0.07062259 -0.05942172 -0.04822085
BMD.sexF -2.36908925 -2.31640171 -2.26371416
BMD.sexM -2.33309959 -2.27979391 -2.22648823
attr(,"label")
[1] "Coefficients:"
Variance function:
lower est. upper
power -0.7957477 -0.4322209 -0.06869406
attr(,"label")
[1] "Variance function:"
Residual standard error:
lower est. upper
0.02189063 0.02635919 0.03173990
_________________________________
Richard Reiss, Sc.D.
Vice President
Sciences International, Inc.
1800 Diagonal Road, Suite 500
Alexandria, VA 22314
phone: (703) 684-0123
fax: (703) 684-2223
Visit our new website at www.sciences.com
More information about the R-help
mailing list