Learn R Programming

powerAnalysis (version 0.2.1)

ES.anova.oneway: Calculating effect size (Cohen's f) of one-way anova for means with equal observations in each group

Description

Calculating effect size (Cohen's f) of one-way anova for means with equal observations in each group

Usage

ES.anova.oneway(data = NULL, sst = NULL, ssb = NULL)

Arguments

data
a matrix or data frame
sst
total sum of squares
ssb
sum of squares between groups

Examples

Run this code
set.seed(9);x=rnorm(50);y=rnorm(50)
z=rnorm(50);d=data.frame(x,y,z)
ES.anova.oneway(data=d)

ES.anova.oneway(sst=50,ssb=1)

Run the code above in your browser using DataLab