Helper Functions for Stan

build_stan | Build a Stan model without locking R/RStudio |

clean_stan | Delete temporary files created by a Stan session |

collect_stan | Collect the results from a Stan session |

get_condition_post | Combine coefficient samples from a Stan model with the design... |

get_contrast_matrix | Obtain a contrast matrix for a data set given a specified... |

get_subject_indices | Get a table of start/end indices from subject label vector |

halfhelmert_contrasts | Half-Helmert Contrasts |

halfsum_contrasts | Half-sum Contrasts |

kill_stan | Terminate an errant Stan session |

names_from_WB | Figure out variable names given W & B contrast matrices |

normality | A metric of normality |

stan_summary | Compute a summary table for the posterior samples for a... |

start_stan | Start a Stan session |

watch_stan | Watch the progress of a Stan session |

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.