nlme (version 3.1-1)

varFixed: Fixed Variance Function

Description

This function is a constructor for the varFixed class, representing a variance function with fixed variances. Letting $v$ denote the variance covariate defined in value, the variance function $\sigma^2(v)$ for this class is $\sigma^2(v)=|v|$. The variance covariate $v$ is evaluated once at initialization and remains fixed thereafter. No coefficients are required to represent this variance function.

Usage

varFixed(value)

Arguments

value
a one-sided formula of the form ~ v specifying a variance covariate v. Grouping factors are ignored.

Value

  • a varFixed object representing a fixed variance function structure, also inheriting from class varFunc.

See Also

varWeights.varFunc, varFunc

Examples

Run this code
vf1 <- varFixed(~age)

Run the code above in your browser using DataLab