Learn R Programming

disclapmix (version 1.7.5)

predict.disclapmixfit: Predict from a disclapmixfit

Description

Is able to predict haplotype frequencies using a disclapmixfit object.

Usage

# S3 method for disclapmixfit
predict(object, newdata, marginalise = FALSE, ...)

Arguments

object

a disclapmixfit object

newdata

the haplotypes in matrix format to estimate haplotype probabilities for

marginalise

Should loci with `NA` be dealt with by marginalising out that locus?

...

not used

Details

Note that `NA` values give rise to an error unless the `marginalise` argument is set to `TRUE`.

See Also

disclapmix disclapmixfit print.disclapmixfit summary.disclapmixfit simulate.disclapmixfit plot.disclapmixfit clusterprob