hwx.test
outputIf the hwx.test
output has multiple populations and/or multiple loci, use this function to make a data frame to display the results in tabular form.
hwdf(hwlist, statName = NA, showN = TRUE, showk = TRUE,
showMethod = TRUE, showSE = TRUE, showTables = TRUE,
showTrials = TRUE, showStat = TRUE, showAsymptoticX2 = FALSE,
showAsymptoticG2 = FALSE)
The output from a call to hwx.test
gives you the option of changing which statistic's P value is reported
whether to show a column of sample size (number of diploids in the sample)
whether to show the number of alleles
whether to show whether the exact or Monte Carlo method was used
whether to include the standard error for those tests which used the Monte Carlo method
whether to show the total number of tables examined when full enumeration (exact) method is used
whether to show the number of random trials when Monte Carlo method is used
whether to show the observed statistic
whether to include the asymptotic P value corresponding to the Pearson \(X^2\) statistic
whether to include the asymptotic P value for the LLR
statistic