etasq: Just eta^2.

Description Usage Arguments Value Examples

View source: R/misc_stats.R

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

1

Arguments

formula

The model formula for stats::aov.

data

The data.frame.

Value

A single numeric value

Examples

1
etasq(stunzahl ~ jahrgang, ngo)

tadaatoolbox documentation built on July 2, 2020, 2:30 a.m.