listify: Convert results of 'hwx.test' to a single list of 'hwtest'...

Description Usage Arguments Value Examples

Description

There are two main uses of listify. You can simplify a complex result from hwx.test containing multiple populations and multiple loci into a simple list of hwtest objects. At the same time, you have a chance to change the parameters detail and statName. Useful to get output from a test.

Usage

1
listify(hwlist, detail = NA, statName = NA)

Arguments

hwlist

the results of a call to hwx.test. It can be an hwtest object, a list of them or a list of lists of them.

detail

Used only if you wish to reset the detail of each object.

statName

Used only if you want to rest the statName of each object

Value

a list of hwtest objects, possibly with their detail and statName parameters reset

Examples

1
2
3
data(HWcases)
outcome <- hwx.test(HWcases, detail=4, statName="LLR")
listify(outcome, detail=1, statName="U")

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

Related to listify in HWxtest...