Plot output from the SCUL procedure in levels, differences, and standardized difference Must also have run this command. webshot::install_phantomjs()
PlotShareTable(
coef.exact = SCUL.output$coef.exact,
x.DonorPool = SCUL.input$x.DonorPool,
y.scul = SCUL.output$y.scul,
y.actual = SCUL.output$y.actual,
time = SCUL.output$time,
OutputFilePath = SCUL.input$OutputFilePath,
TreatmentBeginsAt = SCUL.output$TreatmentBeginsAt,
save.figure = FALSE
)
coef.exact | The sparse matrix of coefficients used to construc the synthetic estimate. Default is SCUL.output$coef.exact. |
---|---|
x.DonorPool | The (T by K) donor pool matrix. Default is SCUL.input$x.DonorPool. |
y.scul | Synthetic data created by SCUL procedure. Default is SCUL.output$y.scul. |
y.actual | The actual (target) data. Default is SCUL.output$y.actual. |
time | Default is SCUL.output$time. |
OutputFilePath | Output file path. Default is SCUL.input$OutputFilePath. |
TreatmentBeginsAt | An integer indicating which row begins treatment. Default is SCUL.output$TreatmentBeginsAt. |
save.figure | Boolean, set to TRUE if you want output saved as figure to OutputFilePath automatically. Default is FALSE |
graphs Four plots that show contribution of each donor to synthetic estimate and a similar table.