[R] how can I access parts of yags output

2008-10-29 Thread Juliet Hannah
Here is an example given from ?yags library(methods) data(stackloss) Y1 - yags(stack.loss~Air.Flow,id=1:21, data=stackloss) How can I access parts of the output. I tried: str(Y1) Formal class 'yagsResult' [package yags] with 25 slots ..@ coefficients : num [1:2] -44.13 1.02 ..@

Re: [R] how can I access parts of yags output

2008-10-29 Thread Rolf Turner
On 30/10/2008, at 11:48 AM, Juliet Hannah wrote: Here is an example given from ?yags library(methods) data(stackloss) Y1 - yags(stack.loss~Air.Flow,id=1:21, data=stackloss) How can I access parts of the output. I tried: str(Y1) Formal class 'yagsResult' [package yags] with 25 slots