byf.shapiro: Shapiro-Wilk test for factor levels

View source: R/byf.shapiro.R

byf.shapiroR Documentation

Shapiro-Wilk test for factor levels

Description

Performs a Shapiro-Wilk test on a numeric variable per level of a factor.

Usage

byf.shapiro(formula, data)

Arguments

formula

a formula of the form a ~ b where a gives the data values and b a factor giving the corresponding groups.

data

an optional data frame containing the variables in the formula formula. By default the variables are taken from environment(formula).

Value

method

name of the test.

data.name

a character string giving the names of the data.

tab

table of results.

Author(s)

Maxime HERVE <maxime.herve@univ-rennes1.fr>

See Also

byf.qqnorm, shapiro.test

Examples

data(iris)
byf.shapiro(Sepal.Length~Species,data=iris)

RVAideMemoire documentation built on Nov. 6, 2023, 5:07 p.m.