normtest: Main Normtest Function

Description Usage Arguments Value Examples

Description

Main Normtest Function

Usage

1

Arguments

x

Numeric Vector

...

Any argument for inner functions basic_stats and tests

Value

List of class normtest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# basic examples
set.seed(101)
x <- rnorm(10^2, 7, 1)
test <- normtest(x)
test
summary(test)
# example with NA
y <- x; y[7] <- NA
normtest(y, na.rm = TRUE)
# not normal data
z <- rlnorm(100, 7, 2)
normtest(z)

Lucapersio1391/normtest documentation built on May 9, 2019, 3:26 a.m.