View source: R/handle_moderating_variable.R
handle_moderating_variable | R Documentation |
handle_moderating_variable handles moderating variable calculations: In practice, this just involves slicing the data up according to the moderator, calling PanelEstimate() and putting everything back together This function creates the sets of objects on which PanelEstimate() will be called. It identifies the set of valid values the moderating variable can take on.
handle_moderating_variable(
ordered.data,
att.sets,
atc.sets,
PM.object,
moderator,
unit.id,
time.id,
qoi.in
)
ordered.data |
data.frame |
att.sets |
matched.set object for the ATT or ART |
atc.sets |
matched.set object for the ATC |
PM.object |
PanelMatch object |
moderator |
string specifying the name of the moderating variable |
unit.id |
string specifying the unit id variable |
time.id |
string specifying the time id variable |
qoi.in |
string specifying the QOI |
Character vector of valid moderating variable values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.