is_normal: Can it be considered as normal?

View source: R/validity.R

is_normalR Documentation

Can it be considered as normal?

Description

Can it be considered as normal?

Usage

is_normal(x)

## S3 method for class 'data.frame'
is_normal(df)

Arguments

x

Object to check

df

data.frame with 2 columns, x being numeric and y being a factor

model

The result of the lm function

Details

is_normal.double first bootstraps the results and then pass the result to is_normal.default is_normal.default returns TRUE if the mean is between the 40th and 60th percentile and the skewness is lower than 0.6


KZARCA/simplestats documentation built on Feb. 19, 2024, 1:11 a.m.