gsm {GSMX} | R Documentation |
Esimate genetic variance-covariances and calculate heritability and predictability using cross validation
Description
The function estimate genetic variance-covariances and calculate heritability and predictability for multivariate genetic selection using cross validation
Usage
gsm(mydata, mykin, nfold)
Arguments
mydata |
dataset with two traits |
mykin |
kinship matrix |
nfold |
number of folds for cross validation |
Value
res |
Results |
Examples
library(GSMX)
data(pseudo.kin)
data(pseudo.data)
myfit=gsm(pseudo.data, pseudo.kin, nfold=5)
[Package GSMX version 1.3 Index]