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

Details

This function computes a standard one-way NOVA, 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 statistics

Author(s)

Belén Rodríguez <brodriguez@wesleyan.edu>

Examples

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

brodriguez97/oneway documentation built on May 13, 2019, 11:09 a.m.