Skip to contents

Make a plot of substitution model results.

Usage

# S3 method for 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.