kinshAprior: Kinship matrix a prior

Description Usage Arguments Details Value See Also Examples

Description

The function computes and creates a list containing of the a prior kinship matrices of the families.

Usage

1
kinshAprior(fam.id, sujet.id, dad.id, moth.id, sex, data)

Arguments

fam.id

Family identifying

sujet.id

Individual identifying within the family

dad.id

Name of father variable.

moth.id

Name of mother variable.

sex

Name of sex variable.

data

Data frame.

Details

The function uses the function kinship of the package kinship2 to assess a prior family kinship matrices.

Value

Return a list of the a prior family kinship matrices.

See Also

to See Also as KinshAposterior

Examples

1
2
data(DataGPh)
lst_mkinshp2=kinshAprior("fam.id","subject.id","father.id","mother.id","sex",DataGPh)

CroteauCRIUSMQ/EMQLS.test documentation built on May 6, 2019, 12:52 p.m.