This method function prepares 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,...)
Arguments
object: an object inheriting from class "corStruct", representing a correlation structure.
structName: an optional character string defining the type of correlation structure associated with object, to be used in the print.summary method. Defaults to class(object)[1].
...: some methods for this generic require additional arguments. None are used in this method.
Returns
an object identical to object, but with its class changed to summary.corStruct and an additional attribute structName. The returned value inherits from the same classes as object.