normalityTestDS: Normality test of exposures of ExposomeSet

View source: R/normalityTestDS.R

normalityTestDSR Documentation

Normality test of exposures of ExposomeSet

Description

Perform a normality test on all the exposures of an ExposomeSet object

Usage

normalityTestDS(object, th = 0.05, min.val = 5, na.rm = TRUE, warnings = TRUE)

Arguments

object

ExposomeSet Exposome Set object

th

numeric (default 0.05) Threshold to considere an exposure to follow a normal distribution.

min.val

numeric (default 5) Minimum number of values not missings to test the exposures.

na.rm

bool (default TRUE) Removes the NA values to test the normality on the exposure.

warnings

bool (default TRUE) Show warnings if required.

Value

list of data.frame (one for each study server) with
- exposure: character Name of the exposures
- normality: bool If exposure is normal (TRUE) or not (FALSE)
- p.value: numeric P-value of the Shapiro-Wilk Normality Test


isglobal-brge/dsExposome documentation built on Feb. 20, 2023, 11:19 a.m.