Helper Functions for the Synth R6 Class

fn_v_cpp | Synth Optimization func for predictor variable weights |

solution_v_forc_example | Synthetic Control exmaple of a solution for the variable... |

solution_w_cpp | solution for region weights |

SynthHelpers-package | Helpers for the R6 Synthetic Control class |

X_scaled_forc_example | Synthetic control X matrix of scaled predictor data |

Z_forc_example | Synthetic control Z matrix of outcome variables |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.