Description Usage Arguments Value Examples
Main Normtest Function
Main Normtest Function
1 2 3 |
x |
numeric vector |
... |
any argument for inner function basic_stats |
x |
numeric vector |
... |
any argument for inner function basic_stats |
list of class normtest
list of class normtest
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # Basic Examples
set.seed(101)
x <- rnorm(100, 7, 1)
plot.normtest(x)
test <- normtest(x)
test
summary(test)
# Examples with na
y <- x; y[7] <- NA
plot.normtest(y)
normtest(y, na.rm = TRUE)
# non normal examples
z <- rlnorm(100, 7, 2)
plot.normtest(z)
normtest(z)
# Basic Examples
set.seed(101)
x <- rnorm(100, 7, 1)
plot.normtest(x)
test <- normtest(x)
test
summary(test)
# Examples with na
y <- x; y[7] <- NA
plot.normtest(y)
normtest(y, na.rm = TRUE)
# non normal examples
z <- rlnorm(100, 7, 2)
plot.normtest(z)
normtest(z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.