ANOVATableandTest: Print ANOVA tables and Tukey Table, test Hypotheses

Description Usage Arguments Details Value Note Author(s) References Examples

Description

ANOVA or oneway.test based on Homoscedasticity or Heteroscedasticity of observations by treatments. Also ANOVA table for observations by treatments and block. Prints Tukey Tables where applicable.

Usage

1
ANOVATableandTest(someObservations, aTreatmentVector, blockingGroups)

Arguments

observations

A Numeric Vector

treatments

A Vector of Factors to Group observations

block

A Vector of Factors, Optional Argument

confidenceInterval

Assumed to be 0.05 unless otherwise specified

Details

Designed for use in RBD()

Value

ANOVA Table

If block doesn't exist and the P-value from Levene's Test for observations by treatments is not significant, returns one way ANOVA

ANOVA P-value

Returns P-value from ANOVA table for use in other functions.

Oneway.test Table

If block doesn't exist, and the P-value from Levene's Test for observations by treatments is significant, returns oneway.test with var.equal = FALSE

ANOVA Table

If block exists, runs multifactor ANOVA

Tukey Table

If applicable for one or multifactor ANOVA, prints and plots Tukey Table

Note

Designed for Professor Ray Mugno's MAT 342 class, Spring 2019

Author(s)

Frederick T. Kaesmann Jr.

References

My Github -> https://github.com/ftkjr

Examples

1
2
3
4
5
6
7
8
9
# No block Arg
data(CO2)
ANOVATable(CO2$uptake, CO2$Plant)

########

# With block
data(CO2)
ANOVATable(CO2$uptake, CO2$Plant, CO2$Type)

ftkjr/SummaryPack documentation built on June 4, 2019, 8:23 a.m.