Boyd tools

capwords | Capitalize first letter of each word |

cton | Convert character to numeric |

fdoq | First day of quarter |

fton | Factor to numeric |

ht | Show head and tail of a vector, matrix, table, data frame or... |

is.true | function to deal with NA logical values |

ma4 | Get 4-period moving average (3 lags + current) |

mdyfn | Create a date from month, day, year |

memory | Describe memory usage and collect garbage |

naz | Convert NA to zero |

p25 | Compute the sample 25th percentile. |

p50 | Compute the sample 50th percentile (median). |

p75 | Compute the sample 75th percentile. |

pany | Compute the sample value for a specific percentile, p. |

pipe | Pipe operator |

precis2 | Display a succinct summary of a data frame |

qtiledf | Get quantiles and number of not-NA observations for a vector,... |

qy | Create a date for start of quarter, from quarter, year |

safe.ifelse | ifelse that can be used safely with dates |

stldf | Get trend, seasonal, remainder for a vector that has... |

sum4 | Get 4-period moving sum (3 lags + current) |

trimlead | Trim leading white space in strings |

trimtrail | Trim trailing white space in strings |

trim.ws | Trim white space at either end of strings |

xdate | Convert Excel numeric date 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.