substitution
class.Constructor function for substitution
class.
create_substitution(
between_simple_sub,
within_simple_sub,
simple_sub,
between_avg_sub,
within_avg_sub,
avg_sub,
delta,
ref,
level,
weight,
parts,
summary
)
An object of class substitution
A list of results from bsub
or NULL
A list of results from wsub
or NULL
A list of results from sub
or NULL
A list of results from bsubmargins
or NULL
A list of results from wsubmargins
or NULL
A list of results from submargins
or NULL
A numeric vector of the amount of substitution
A character value specifying the reference grid
A character value specifying the level of substitution
The weight to use in calculation of the reference composition
The parts of the composition
A logical value specifying whether to summarize the results
substitution