add_small_legend | Add small legend to ggplot |
add_stars | Add stars to statistical estimate |
alligator_remover | Remove alligator signs |
ann_monthly_ret | Annualise monthly returns |
ann_sd | Annulise standard deviation |
calc_log_return | Compute logarithmic net returns for a vector |
calc_simple_return | Compute simple net returns for a vector Used in scripts: |
camel_to_snake | Convert camel case words to snake case words |
compute_return | Compute simple or logarithmic returns |
conditional_drop | Drop columns from data frame if they exist |
cumret | Compute the cumulative product of a vector |
divide_cols_by | Divide a set of columns by a number |
filter_na_df | Filter away NA rows for multiple columns at at time |
find_closest_date | Find the Closest Date |
gen_missing_dates | Extract missing dates in a monthly sequence |
gen_month_ends | Sequence of monthly end dates |
grapes-nin-grapes | Opposite of in function |
has_duplicates | Are there duplicate values in your data? |
has_group_duplicates | Check if your data frame contains duplicate rows by group |
impute_missing_values | Interpolate missing values using mean |
impute_na | Impute missing value based on mean |
lag_cols | Lag multiple columns at at time |
last_day | Find last day of month |
left_join_with_null | Handle a data frame being NULL when merging |
length_na | Calculate length of NAs in a vector |
look_ncols_excel | Look up the number of columns in an excel sheet |
path_delist | Delist paths |
pipe | Pipe operator |
push_to_month_end | Convert date to the last day of the month |
read_colnames | Pull the column names from a data frame stored in fst format |
read_nrows | Pull the number of rows from a data frame stored in fst... |
standardise_character | Standardise a character string |
str_remove_after | Remove everything after the first separator in a string |
str_remove_decimals | Remove decimals from large numbers in string |
str_remove_decimals_all | Remove decimals from large numbers in multiple long strings |
theme_wss_latex | Custom Latex theme |
unlist_dates | Convert dates in list (data frame or list) to vector of dates |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.