means_and_counts: Get the means and counts for each categorical term in the...

View source: R/pairwise.R

means_and_countsR Documentation

Get the means and counts for each categorical term in the model

Description

Get the means and counts for each categorical term in the model

Usage

means_and_counts(fit, term)

Arguments

fit

A model fit by lm() or aov() (or similar).

term

If NULL, use each categorical term in the model. Otherwise, only use the given term.

Value

A list of the means and counts for each level of each term.


supernova documentation built on May 29, 2024, 4:47 a.m.