Skip to contents

This function is for model interpretation.

Usage

quackit(
  model_out,
  summary_statistic = "BIC",
  mixtures = c("diploid", "triploid", "tetraploid", "hexaploid", "pentaploid")
)

Arguments

model_out

Data frame containing, at minimum, columns labeled LL, type, mixture, distribution, and BIC.

summary_statistic

May be equal to BIC or dLL.

mixtures

Defaults to c("diploid", "triploid", "tetraploid", "hexaploid", "pentaploid").

Value

Returns data frame with the most likely model for each set of mixtures. Includes the best and second best mixtures, as well as the difference between the two.