check.norm: Normal is better

Description Usage Arguments Examples

View source: R/check.norm.R

Description

This function checks normality assumption through several transformations and provide qqplots and statisticsA vector is given orignal, log and sqrt ransformed. Outliers are removed before and after transformation

Usage

1

Arguments

x

A (positive) numeric vector

Examples

1
2
3
4
5
6
x <- c(0.98, 1.73, 0.83, 1.54, 0.85, 1.16, 1.03, 0.61, 1.17, 1.66, 0.71, 1.25, 0.58, 0.94,
       2.35, NA, 0.76, 2.48, 1.12, 0.93, 1.14, 0.78, 1.01, 1.03, 1.14, 1.03, 0.72, 1.95, 0.85,
       0.69, 0.74, 1.14, 1.55, 0.93, 0.78, 0.75, 1.61, 1, 0.57, 0.39, 0.8, 0.92, 0.8, 0.96, 0.55,
       0.84, 0.87, 1.02, 1.1, 1.11, 0.63, 1.42, 0.77, 1.73, 1.5, 0.67, 0.75, 1.7, 1.21, 1.26, 0.97,
       0.79, 2.96, 1.14, 0.53, 0.65, 1.96, 0.57, NA, 0.51, 0.98, 0.35, 1.02, 1.55, 1.18)
check.norm(x)

alemiani/explora documentation built on May 28, 2019, 4:54 p.m.