summary.varFunc.Rd
A structName
attribute, with the value of corresponding
argument, is appended to object
and its class is changed to
summary.varFunc
.
# S3 method for class 'varFunc'
summary(object, structName, ...)
an object inheriting from class "varFunc"
,
representing a variance function structure.
an optional character string with a description of
the varFunc
class. Default depends on the method function:
varComb
:"Combination of variance functions"
,
varConstPower
:"Constant plus power of variance covariate"
,
varConstProp
:"Constant plus proportion of variance covariate"
,
varExp
:"Exponential of variance covariate"
,
varIdent
:"Different standard deviations per stratum"
,
varPower
:"Power of variance covariate"
,
varFunc
:data.class(object)
.
some methods for this generic require additional arguments. None are used in this method.
an object similar to object
, with an additional attribute
structName
, inheriting from class summary.varFunc
.
vf1 <- varPower(0.3, form = ~age)
vf1 <- Initialize(vf1, Orthodont)
summary(vf1)
#> Variance function:
#> Structure: Power of variance covariate
#> Formula: ~age
#> Parameter estimates:
#> power
#> 0.3