Learn R Programming

nadiv (version 2.18.0)

pin-deprecated: Approximate standard errors for linear functions of variance components

Description

This function is Deprecated and will be removed in a future version. The pin function works with an asreml-R version 3 model object. Since ASReml has updated to version 4, they have changed their model output. ASReml has also provided their own vpredict function that does (for asreml v4 model objects) what pin did for asreml v3 model objects.

Usage

pin(object, transform)

Value

A data.frame with row names corresponding to the operator on the left hand side of the transform formula and the entries corresponding to the Estimate and approximate SE of the linear transformation.

Arguments

object

A list with at least the following elements: gammas, gammas.type, and ai from a REML mixed model

transform

A formula specifying the linear transformation of variance components to conduct

Author

Ian White

Details

This function is similar to the pin calculations performed by the standalone ASReml. This function, written by Ian White, applies the delta method for the estimation of approximate standard errors on linear functions of variance components from a REML mixed model

Object is intended to be an asreml-R model output.

The formula can use V1,..., Vn to specify any one of the n variance components. These should be in the same order as they are in the object (e.g., see the row order of summary(object)$varcomp for asreml-R models.

See Also

See Also nadiv-deprecated, aiCI, aiFun