glm.prep: Preparation for multinomial logistic regression.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/glm.prep.R

Description

Function combines randomized full and half siblings with empirical values and non related random individuals to one multinomial logistic regression to calculate relatedness thresholds.

Usage

1
2
     glm.prep(offfull.list, offhalf.list, offnon.list)
     

Arguments

offfull.list

Mean relatedness of populations randomized as full siblings over all loci from the reference population.

offhalf.list

Mean relatedness of populations randomized as half siblings over all loci from the reference population.

offnon.list

Mean relatedness of populations of randomized non relatives over all loci from the reference population.

Details

The function uses the package mlogit from Croissant 2011 to combine all the information from reference populations in one multilogistic regression model using mlogit(...). Thresholds are calculated and used for downstream calculations.

Value

sumlmr

Summary of mlogit model

half

Thresholds for full and half siblings

Author(s)

Philipp Kraemer, <[email protected]>

References

Croissant, Y. 2011 mlogit: multinomial logit model R package version 0.2-2.

See Also

offspring

Examples

1
2
3
4
     ## internal function not intended for direct use
    
     
     

Demerelate documentation built on May 30, 2017, 8:14 a.m.