setup_pte | R Documentation |
This is a function for how to setup
the data to be used in the pte
package.
The setup_pte
function builds on setup_pte_basic
and
attempts to provide a general purpose function (with error handling)
to arrange the data in a way that can be processed by subset_fun
and attgt_fun
in the next steps.
setup_pte(
yname,
gname,
tname,
idname,
data,
required_pre_periods = 1,
anticipation = 0,
base_period = "varying",
cband = TRUE,
alp = 0.05,
boot_type = "multiplier",
weightsname = NULL,
gt_type = "att",
ret_quantile = 0.5,
biters = 100,
cl = 1,
...
)
pte_params
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.