shapiroWilkTest: Shapiro-Wilk Normality Test

View source: R/shapirowilk.R

shapiroWilkTestR Documentation

Shapiro-Wilk Normality Test

Description

Calculates the Shapiro-Wilk normality test of characters for taxa.

Usage

shapiroWilkTest(object, p.value = 0.05)

Arguments

object

an object of class morphodata.

p.value

a number or NA are acceptable. In the case of number, the output will be formatted as "normally distributed" or "NOT normally distributed". In the case of NA, exact p-values will be returned.

Value

A data.frame, storing results of Shapiro-Wilk normality test.

Examples

data(centaurea)

sW = shapiroWilkTest(centaurea)

## Not run: exportRes(sW, file = "sW_test.txt")

sW = shapiroWilkTest(centaurea, p.value = NA)

## Not run: exportRes(sW, file = "sW_test.txt")

MorphoTools2 documentation built on March 7, 2023, 6:18 p.m.