This is a wrapper function for replace_outliers. It applies replace_outliers over the columns of a data.frame, grouped by day. This function returns a data.frame of the same size as df, with the same values of df, except for those outliers as defined in replace_outliers.
df is a data.frame with any number of numerical columns, and one id column named "day".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.