R: Extract Values from 'htest' Objects

htest.short {rapportools} | R Documentation

## 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

    ## Not run:
    htest.short(shapiro.test(rnorm(100)))

    ## End(Not run)

[Package rapportools version 1.0 Index]