Miscellaneous functions and tools which I find useful

coalesce | Return the first non-NA value for each element in a vector |

diffDate | Calculate the difference between dates (vectorized) |

expandData | Expand data over missing value This is particularly useful... |

getDateSequence | Get a sequence of dates, inclusive |

getFutureDays | Get a sequence of future days, inclusive |

getMode | Returns the statistical mode of a vector Will return the min... |

getMonth | Get the first day of a month for a vector of dates (as... |

getMonthName | Get the associated month (as a character) from a series of... |

getSeason | Get the associated seasons (as a character) from a series of... |

getTrailingDays | Get a sequence of trailing days, inclusive |

getYear | Get the associated years (as numeric integers) from a series... |

toDate | Convert strings to date |

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.