hwdf: Construct a data frame from 'hwx.test' output

Description Usage Arguments

Description

If 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.

Usage

1
2
3
4
hwdf(hwlist, statName = NA, showN = TRUE, showk = TRUE,
  showMethod = TRUE, showSE = TRUE, showTables = TRUE,
  showTrials = TRUE, showStat = TRUE, showAsymptoticX2 = FALSE,
  showAsymptoticG2 = FALSE)

Arguments

hwlist

The output from a call to hwx.test

statName

gives you the option of changing which statistic's P value is reported

showN

whether to show a column of sample size (number of diploids in the sample)

showk

whether to show the number of alleles

showMethod

whether to show whether the exact or Monte Carlo method was used

showSE

whether to include the standard error for those tests which used the Monte Carlo method

showTables

whether to show the total number of tables examined when full enumeration (exact) method is used

showTrials

whether to show the number of random trials when Monte Carlo method is used

showStat

whether to show the observed statistic

showAsymptoticX2

whether to include the asymptotic P value corresponding to the Pearson X^2 statistic

showAsymptoticG2

whether to include the asymptotic P value for the LLR statistic


HWxtest documentation built on May 31, 2019, 9:04 a.m.

Related to hwdf in HWxtest...