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

pin-deprecatedR Documentation

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)

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

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.

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.

Author(s)

Ian White

See Also

See Also nadiv-deprecated, aiCI, aiFun


nadiv documentation built on May 29, 2024, 10:40 a.m.