oneway: One Way Analysis of Variance

Description Usage Arguments Details Value Author(s) Examples

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 contain the variables in the model.

Details

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

Value

a list with 2 elements:

oneway

a list with the lm results

summarystats

a data frame with the summary statistics

Author(s)

Rob Kabacoff <rkabacoff@wesleyan.edu>

Examples

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

ekmaus19/oneway documentation built on May 21, 2019, 2:03 p.m.