Learn R Programming

rapportools (version 1.2)

htest.short: Extract Values from htest Objects

Description

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

Usage

htest.short(x)

Value

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

Arguments

x

htest-class object

Examples

Run this code
if (FALSE) {
htest.short(shapiro.test(rnorm(100)))
}

Run the code above in your browser using DataLab