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

1
gsm(mydata, mykin, nfold)

Arguments

mydata

dataset with two traits

mykin

kinship matrix

nfold

number of folds for cross validation

Value

res

Results

Examples

1
2
3
4
#library(GSMX)
#data(pseudo.kin)
#data(pseudo.data)
#myfit=gsm(pseudo.data, pseudo.kin, nfold=5)