gsm: Esimate genetic variance-covariances and calculate...

Description Usage Arguments Value Examples

View source: R/gsm.R

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)

GSMX documentation built on July 24, 2017, 5:02 p.m.

Search within the GSMX package
Search all R packages, documentation and source code