oneway: One Way Analysis of Variance

Description Usage Arguments Details Value Author(s) Examples

View source: R/oneway.R

Description

oneway computes a one-way analysis of variance and inclues group level summary statistics.

Usage

1

Arguments

formula

an object of class formula, relating the dependent variable to the grouping variable.

data

a data frame containing the variables in the model.

Details

This function computes a standard one-way ANOVA, means, and standard deviations. Missing values are handled via list-wise deletion.

Value

a list with 2 elements:

oneway

a list with the lm results

summarystats

a data frame with the summary statisitics

Author(s)

Kelly Jamrog <kjamrog@wesleyan.edu>

Examples

1
2
3
4
mileage <- oneway(hwy~class, cars)
summary(mileage)
mileage
plot(mileage)

jgkwes/oneway documentation built on May 21, 2019, 2:05 p.m.