View source: R/matched_set_R.r
findContinuousTreated | R Documentation |
findContinuousTreated
is used to identify t,id pairs of units for which a matched set might exist.
findContinuousTreated( dmat, treatedvar, time.var, unit.var, qoi, continuous.treatment.info )
dmat |
Sorted data frame or matrix containing data used to identify potential treated units. Must be specified in such a way that a combination of time and id variables will correspond to a unique row. Must also contain at least a continuous treatment variable column as well. |
treatedvar |
Character string that identifies the name of the column in |
time.var |
Character string that identifies the name of the column in |
unit.var |
Character string that identifies the name of the column in |
findContinuousTreated
returns a subset of the data in the dmat
data frame, containing only treated units for which a matched set might exist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.