predict.disclapmixfit: Predict from a disclapmixfit

View source: R/helper.R

predict.disclapmixfitR Documentation

Predict from a disclapmixfit

Description

Is able to predict haplotype frequencies using a disclapmixfit object.

Usage

## S3 method for class '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


mikldk/disclapmix documentation built on July 3, 2025, 6:47 p.m.