normality: A metric of normality

Description Usage Arguments Value

View source: R/normality.R

Description

Provides a measure of normality for the input by computing the correlation between the data and the expected data given each data point's quantile and a normal distribution with a mean equal to the data's mean and a standard deviation equal to the data's standard deviation.

Usage

1

Arguments

x

A numeric vector.

Value

A single value on the scale -1 to 1.


mike-lawrence/ezStan documentation built on Dec. 29, 2021, 1:30 a.m.