means_and_counts {supernova}R 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.


[Package supernova version 3.0.0 Index]