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, \dots)
corStruct
,
representing a correlation structure.object
, to be used in
the print.summary
method. Defaults to
class(object)[1]
.object
, but with its class changed to
summary.corStruct
and an additional attribute
structName
. The returned value inherits from the same classes
as object
.cs1 <- corAR1(0.2)
summary(cs1)
Run the code above in your browser using DataLab