Dave Kleinschmidt's misc. utilities

aggregate_lhood | Aggregate observations' likelihoods into single posterior |

boot_ci | Bootstrapped CIs |

ceil_to | Round up to specified ceilings |

log_sum_exp | Numerically stable sum of logged numbers |

marginalize | Convert joint to marginal (log) probabilities |

normalize_probability | Normalize posterior |

paste_factors | Combine two factors, preserving level order |

paste_with_last | Paste with different separator for last pair |

p_val_to_less_than | Format p-values in "less than" notation |

p_val_to_stars | Format p-values in "stars" notation |

p_val_to_two_tail | Convert a one-tailed to a two-tailed p value |

se | Standard error of the mean |

select_groups | Select groups of grouped tbl |

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.