oneway: One Way Analysis of Variance

Description Usage Arguments Details Value Author(s) Examples

View source: R/oneway.R

Description

oneway computes a one-wauy analysis of variance and includes grouip 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-wauy 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)
print(mileage)
plot(mileage)

Rkabacoff/onewayAnova documentation built on Oct. 30, 2019, 10:58 p.m.