This method function prepares
object to be printed using the
print.summary
method, by changing its class and adding a
structName
attribute to it.
USAGE:
summary(object, structName)
REQUIRED ARGUMENTS:
object
an object inheriting from class
corStruct,
representing a correlation structure.
OPTIONAL ARGUMENTS:
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].
VALUE:
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.