Learn R Programming

ANOVAreplication (version 1.1.3)

pooled.sd: Pooled standard deviation calculator

Description

Calculates the pooled standard deviation.

Usage

pooled.sd(data)

Arguments

data

A dataframe with two variables: y for the dependent variable and g for the grouping variable.

Value

Returns the pooled standard deviation.

Examples

Run this code
# NOT RUN {
data <- data.frame(y=ChickWeight$weight,g=ChickWeight$Diet)
pooled.sd(data)
# }

Run the code above in your browser using DataLab