plot.substitution: Substitution Plot

View source: R/plot.R

plot.substitutionR Documentation

Substitution Plot

Description

Make a plot of substitution model results.

Usage

## S3 method for class 'substitution'
plot(x, to, ref, level, ...)

Arguments

x

A substitution class object.

to

A character value or vector specifying the names of the compositional parts that were reallocated to in the model.

ref

A character value of (("grandmean" or "clustermean" or "users"),

level

A character value of ("between", "within"), or "combined").

...

Further arguments passed to ggplot.

Value

A ggplot graph object showing the estimated difference in outcome when each pair of compositional variables are substituted for a specific time.


florale/multilevelcoda documentation built on April 21, 2024, 9:44 a.m.