Tools Inspired by 'Stata' to Manipulate Tabular Data


[Up] [Top]

Documentation for package ‘statar’ version 0.7.6

Help Pages

statar-package A package for applied research
as.monthly Elapsed dates (monthly, quarterly)
as.quarterly Elapsed dates (monthly, quarterly)
elapsed Elapsed dates (monthly, quarterly)
fill_gap Add rows corresponding to gaps in some variable
is.monthly Elapsed dates (monthly, quarterly)
is.panel Check whether a data.frame is a panel
is.quarterly Elapsed dates (monthly, quarterly)
join Join two data frames together
monthly Elapsed dates (monthly, quarterly)
n_narm Count number of non missing observations
pctile Weighted quantile of type 2 (similar to Stata _pctile)
quarterly, Elapsed dates (monthly, quarterly)
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 summarize)
tab Returns cross tabulation
tempname Create unique names within a list, a data.frame, or an environment
tlag lead and lag with respect to a time variable
tlead lead and lag with respect to a time variable
tlead-tlag lead and lag with respect to a time variable
winsorise Winsorize a numeric vector
winsorize Winsorize a numeric vector
xtile Bin variable in groups (similar to Stata xtile)