diffya | Compute year-over-year difference for annual data |
even | return even elements of a vector |
f_comma | Format numeric vector in comma format |
f_dollar | Format numeric vector in dollar format |
fdoq | First day of quarter, given a date as string or date |
f_pct | Format numeric vector as percent |
fton | Factor to numeric |
ht | Show head and tail of a vector, matrix, table, data frame or... |
is.even | which elements of a vector are even |
is.odd | which elements of a vector are odd |
is.true | function to deal with NA logical values |
lcnames | Convert names of a data frame to lower case |
ldom | Last day of month |
ma | Get trailing moving average |
ma4 | Get 4-period moving average (3 lags + current) |
memory | Describe memory usage and collect garbage |
naz | Convert NA to zero |
ns | create vector of sorted names of a data frame |
odd | return odd elements of a vector |
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. |
pchya | Compute year-over-year percent change for annual data |
pipe | Pipe operator |
pmean | Vectorized mean, similiar to 'pmin' and 'pmax' |
psum | Vectorized sum, similiar to 'pmin' and 'pmax' |
qtiledf | Get quantiles and number of not-NA observations for a vector,... |
rollmean | Rolling mean |
rollmin | Rolling minimum |
rollsd | Rolling sample standard deviation |
rollsd_p | Rolling populatoin standard deviation |
sa | Get seasonally adjusted values for a vector |
safe.ifelse | ifelse that can be used safely with dates |
setdiff_all | which elements are not in the intersection of two vectors? |
stabbr | get postal abbreviations given state names |
stldf | Get trend, seasonal, remainder for a vector that has... |
stname | get state names given postal abbreviations |
str_detect_any | Detect whether any vector elements are in a string |
str_extract_after_last | Return portion of a string after last occurrence of a pattern |
str_extract_before_first | Return portion of a string before first occurrence of a... |
sum4 | Get 4-period moving sum (3 lags + current) |
xldate | Convert Excel numeric date to date. |
yq2 | First day of quarter, from year, quarter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.