oneway: One Way Analysis of Variance

Description Usage Arguments Details Value Examples

View source: R/oneway.R

Description

oneway computes a one-way analysis of variance and includes 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

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

Examples

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

annasophiepeters/onewayAnova documentation built on Nov. 2, 2019, 1:55 p.m.