Calculations to support the statPREP tutorials

counts | Counts and proportions |

digits | Intelligently set the significant digits |

election | Simulate the outcome of an election based on polling data |

gf_do | Iterate a graphic |

htest | Hypothesis tests |

mtally | mtally |

qstats | Calculate basic statistics on a quantitative variable |

reexports | Objects exported from other packages |

resample_n | Resample in the dplyr style |

stats_factory | Another take on a general-purpose statistics function |

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.