tadaatoolbox (version 0.16.1)

etasq: Just eta^2.

Description

Thin wrapper for DescTools::EtaSq to retrieve $eta^2$ for a simple use case without having to fit an aov model beforehand. Only use this for a simple one-way design, e.g. only one independent variable.

Usage

etasq(formula, data)

Arguments

formula

The model formula for stats::aov.

data

The data.frame.

Value

A single numeric value

Examples

Run this code
# NOT RUN {
etasq(stunzahl ~ jahrgang, ngo)
# }

Run the code above in your browser using DataLab