Tools Inspired by 'Stata' to Manipulate Tabular Data

elapsed | Elapsed dates (monthly, quarterly) |

fill_gap | Add rows corresponding to gaps in some variable |

is.panel | Check whether a data.frame is a panel |

join | Join two data frames together |

n_narm | Count number of non missing observations |

pctile | Weighted quantile of type 2 (similar to Stata _pctile) |

statar | A package for applied research |

stat_binmean | Plot the mean of y over the mean of x within bins of x. |

sum_up | Gives summary statistics (corresponds to Stata command... |

tab | Returns cross tabulation |

tempname | Create unique names within a list, a data.frame, or an... |

tlead-tlag | lead and lag with respect to a time variable |

winsorize | Winsorize a numeric vector |

xtile | Bin variable in groups (similar to Stata xtile) |

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.