f_stat_shapiro: wrapper for shapiro.test()

Description Usage Arguments Value Examples

Description

shapiro.test i slimited to <5000 sample size and raises an error if sd(x) == 0. Wrapper samples from input vector and returns a list object with NA parameters if sd(x) == 0.

Usage

1

Arguments

vec

numeric vector

Value

shapiro.test object or list( statistic = NA, p.value = NA )

Examples

1
2
f_stat_shapiro( rnorm(1000, 10, 1) )
f_stat_shapiro( runif(1000, 1, 10) )

erblast/oetteR documentation built on May 27, 2019, 12:11 p.m.