object
to be printed using the
print.summary
method, by changing its class and adding a
structName
attribute to it.## S3 method for class 'corStruct':
summary(object, structName)
object
, but with its class changed to
summary.corStruct
and an additional attribute
structName
. The returned value inherits from the same classes
as object
.print.summary.corStruct
cs1 <- corAR1(0.2)
summary(cs1)
Run the code above in your browser using DataLab