Functions for the Democratic Spaces Project

add_truth_data_ds_fcast | Add truth data to forecasts |

demspaces-package | demspaces: Functions for the Democratic Spaces Project |

ds_fcast | ds_fcast constructor |

ds_logistic_reg | Logistic regression |

ds_logistic_reg_featx | Logistic regression with feature extraction |

ds_reg_logreg | Reguarized logistic regression |

ds_rf | Random forest |

ds_rf_tuner | Wrapper to only tune mtry Based on tunerf results |

format_sec | Format seconds |

logistic_reg | Logistic regression |

logistic_reg_featx | Logistic regression with feature extraction |

make_extract_features | Make feature extractor |

make_standardizer | Make data standardizer |

new_ds_logistic_reg | Constructor |

new_ds_logistic_reg_featx | Constructor |

new_ds_reg_logreg | Constructor |

new_ds_rf | Constructor |

new_logistic_reg | Constructor |

new_reg_logreg | Constructor |

new_rf | Constructor |

plot.reg_logreg | Plot reg_logreg |

reexports | Objects exported from other packages |

reg_logreg | Reguarized logistic regression |

rf | Random forest |

score_ds_fcast | Score forecasts |

spaces | Democratic spaces |

states | States Data |

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.