A personal set of R tools.

calc.error | Calculate bias, RMSE, corellation etc of two vectors. |

circular2xy | Calculate XY coordinates based on distance and bearing |

clrs | Custom color palette |

des | Calculate summary statistics of a data frame or vector. |

h | Custom histogram with additional descriptive stats |

mid | print n random rows of a data frame |

mode | Calculate most frequent value of a vector |

mround | round a number to nearest given integer |

multiplot | Multiple ggplot plots on one image |

rmse | Calculate root mean square error |

scatter | scatterplot with optional information on the errors between x... |

theme_pt | Custom ggplot template |

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.