rapportools (version 1.0)

htest.short: Extract Values from htest Objects

Description

Extract value of statistic and its p-value from htest object.

Usage

htest.short(x)

Arguments

x

htest-class object

Value

named numeric vector with the value of statistic and its p-value

Examples

Run this code
# NOT RUN {
htest.short(shapiro.test(rnorm(100)))
# }

Run the code above in your browser using DataLab