Ryan's Useful Functions

chisq.mc | Chi-sqaure post-hoc testing |

col2num | Convert Excel column names to numbers |

encode | Find continuous sequences in discontinuous sequence |

frac.of | Fraction of factor in a vector |

mergeFac | Merge and preserve level order of factors |

numfac | Convert factors to numeric |

permutation | Two-item permutations |

prism | Export to GraphPad Prism and Excel |

replace_na | Replace NAs |

sem | Standard Error of the Mean |

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.