Constructor function for substitution
class.
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 )
between_simple_sub
: A list of results from bsub
or NULL
within_simple_sub
: A list of results from wsub
or NULL
simple_sub
: A list of results from sub
or NULL
between_avg_sub
: A list of results from bsubmargins
or NULL
within_avg_sub
: A list of results from wsubmargins
or NULL
avg_sub
: A list of results from submargins
or NULL
delta
: A numeric vector of the amount of substitutionref
: A character value specifying the reference gridlevel
: A character value specifying the level of substitutionweight
: The weight to use in calculation of the reference compositionparts
: The parts of the compositionsummary
: A logical value specifying whether to summarize the resultsAn object of class substitution
substitution
Useful links