| addMissingDates | Adds missing dates to wide data |
| adstock | Simple Adstock. |
| adstockDerive | Finds the optimum Adstock rate. |
| adstock.DeriveAppend | Finds the optimum Adstock rate and applies it, appending the... |
| adstock.maxDecay | Adstocks a variable - max decay. |
| adstock.multiple | Adstocks a variable - infinite decay. |
| asFormula | Columns names to a formula layout. |
| ATAN | ATAN transformation |
| colsToNumeric | Converts selected columns to numeric |
| corPlot | Plot correlation matrix. |
| cutVar | Cuts numeric variable into groups |
| excelDateToRDate | Excel date to R date class |
| findCharAcrossCols | Find characters across all columns |
| fixNames | Fixes column names |
| freadExcel | Reads Excel table from file to data.table |
| freadExcelClipboard | Reads Excel table from clipboard to data.table |
| gam.contribution | Outputs the contribution of each smoothed independent... |
| gam.contribution.ggplot | Plots the contribution of a GAM's smoothed independent... |
| gam.contribution.thresholds | Outputs point where contribution is closest to 0, and max... |
| geom_shade | Geom for shading graph to highlight periods. |
| getMonth | Gets month from a date |
| getWeek | Gets week from a date |
| getWeekInMonth | Gets week in month from a date |
| ggplotToPPT | Exports a graph for presentations |
| lm.actualvfitted | Create a data.table for actual v fitted |
| lm.actualvfitted.gaps | Highlight gaps in the models |
| lm.actualvfitted.ggplot | Plots actual v fitted |
| lm.contribution | Outputs the contribution of each lm independent variable |
| lm.contribution.ggplot | Plots the contribution of a lm's independent variables |
| lm.contribution.summary | Outputs the contribution of each lm independent variable - at... |
| lm.decomp | Sums the decomp of a linear model. |
| lm.fitconf | Fit of a lm with confidence intervals. |
| lm.fitconf.ggplot | Plot of lm.fitconf. |
| lm.multiVariableTesting | Tests multiple variables, returning a summary table |
| lm.nladwa | Creates list of all functions associated with lm from this... |
| lm.trainAndTest | Create a data.table for actual v fitted, with train and test... |
| lm.trainAndTest.ggplot | Create a data.table for actual v fitted, with train and test... |
| lm.trainAndTest.resid.ggplot | Create a data.table for actual v fitted, with train and test... |
| MAPE | Mean Absolute Percentage Error |
| MAPE.trainAndTest | Mean Absolute Percentage Error on a lm.trainAndTest.object |
| monthlyToWeekly | Converts monthly data to weekly. |
| oneDividedbyCoef | 1/coef for a lm. |
| readExcelClipboard | Reads Excel table from clipboard to data.frame |
| replaceNAWith | Replaces all NAs |
| replaceNAWithinCertainCols | Replaces NAs in certain columns |
| residPlot | Plot residuals of a lm over time. |
| scatterPlot | Scatter plot with linear regression. |
| stackCSVsfromFolder | Reads all CSVs from a folder, and stacks them by row |
| sumCertainCols | Sum certain columns |
| TrainAndTest.break | Create a data.table for actual v fitted, with train and test... |
| TrainAndTest.sample | Create a data.table for actual v fitted, with train and test... |
| uniqueCharCols | Prints the unique values of any character columns |
| varsPlot | Plot multiple variables over time. |
| wideToLong | Converts data from wide to long |
| writeModelToCSV | Linear model summary, actual v fitted, and decomp to CSV |
| writeToClipboard | Writes a data.table or data.frame to the clipboard |
| writeToCSV | Writes a data.table or data.frame to a CSV |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.