normality_test: Normality Test For Normalized Rootdetection Data Set

View source: R/data_processing.R

normality_testR Documentation

Normality Test For Normalized Rootdetection Data Set

Description

The function performs a Shapiro-Wilk test of normality of dependent variable (LengthMM) for each grouping variable (Label). A data.frame containing p-values obtained from the Shapiro-Wilk test for each grouping variable (Label) is returned.

Usage

normality_test(root_norm, col_grouping = "Label", col_value = "LengthMM")

Arguments

root_norm

data.frame; normalized Rootdetection data set

col_grouping

string; name of the column that should be used as grouping variable (Label)

col_value

string; name of the column containing values (dependent variable) (LengthMM)

Value

data.frame; containing p-values for each grouping variable

Examples

# normalize Rootdetection Output
root_norm <- norm_10mm_standard(root_output)

normality_test(root_norm)

PhilippJanitza/rootdetectR documentation built on Feb. 24, 2024, 6:46 a.m.