is.gamma {asreml}R Documentation

Checks if fitted model is in gamma scale

Description

This internal function is used in summary.asreml and vpredict to verify if the parameters and the inverse of the average information matrix are in gamma scale.

Usage

is.gamma(object)

Arguments

object

An asreml object.

Value

A Boolean value identifying if the model is in gamma scale. The where.sigma2 attribure tells where the index of the sigma2 in vparameters object of the asreml list object.

Examples


## Not run: 
asr.oats <- asreml(
  fixed = yield ~ Variety * Nitrogen,
  random = ~ Blocks / Wplots,
  data = oats)

is.gamma(asr.oats)

## End(Not run)

[Package asreml version 4.2.0.480 Index]