Skip to contents

StatModel passes through rows prepared from a supplied model. With no supplied model, it fits the model implied by the mapped positions: a linear model for a continuous predictor, group means for a categorical predictor, or an intercept when only the outcome is mapped.

Usage

StatModel

Format

StatModel is a ggplot2::Stat object.