inst/doc/Normtest.R

## ----setup, include = FALSE----------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ------------------------------------------------------------------------
require(normtest)

## ---- fig.show='hold'----------------------------------------------------
set.seed(101)
x <- rnorm(10^2, 7, 1)
test <- normtest(x)
test
summary(test)

## ------------------------------------------------------------------------
y <- x; y[7] <- NA
normtest(y, na.rm = TRUE)

## ------------------------------------------------------------------------
z <- rlnorm(100, 7, 2)
normtest(z)
Lucapersio1391/normtest documentation built on May 9, 2019, 3:26 a.m.