pin: Calculate the Heritibality and Genetic Correlation

Description Usage Arguments Author(s) See Also Examples

Description

This is the function that can calculate the Heritibality and Genetic Correlation

Usage

1
pin(object, transform)

Arguments

object

It is the asreml object

transform

It is the formula of calculation

Author(s)

Dave <Dave@vsni.co.uk>

See Also

model.comp , asreml.lrt

Examples

1
2
3
4
5
6
7
library(asreml)
data(harvey,package = "asreml")
head(harvey)
ainv <- asreml.Ainverse(harvey[,1:3])$ginv
mod.asr <- asreml(y1 ~ Line, random = ~ ped(Calf), ginverse = list(Calf = ainv),data=harvey)
summary(mod.asr)$varcomp
pin(mod.asr,h2 ~ V1/(V1+V2))

VSNC/vsnc documentation built on May 28, 2019, 3:20 p.m.

Related to pin in VSNC/vsnc...