Man pages for nladwa/nladwa
General data manipulation functions

addMissingDatesAdds missing dates to wide data
adstockSimple Adstock.
adstockDeriveFinds the optimum Adstock rate.
adstock.DeriveAppendFinds the optimum Adstock rate and applies it, appending the...
adstock.maxDecayAdstocks a variable - max decay.
adstock.multipleAdstocks a variable - infinite decay.
asFormulaColumns names to a formula layout.
ATANATAN transformation
colsToNumericConverts selected columns to numeric
corPlotPlot correlation matrix.
cutVarCuts numeric variable into groups
excelDateToRDateExcel date to R date class
findCharAcrossColsFind characters across all columns
fixNamesFixes column names
freadExcelReads Excel table from file to data.table
freadExcelClipboardReads Excel table from clipboard to data.table
gam.contributionOutputs the contribution of each smoothed independent...
gam.contribution.ggplotPlots the contribution of a GAM's smoothed independent...
gam.contribution.thresholdsOutputs point where contribution is closest to 0, and max...
geom_shadeGeom for shading graph to highlight periods.
getMonthGets month from a date
getWeekGets week from a date
getWeekInMonthGets week in month from a date
ggplotToPPTExports a graph for presentations
lm.actualvfittedCreate a data.table for actual v fitted
lm.actualvfitted.gapsHighlight gaps in the models
lm.actualvfitted.ggplotPlots actual v fitted
lm.contributionOutputs the contribution of each lm independent variable
lm.contribution.ggplotPlots the contribution of a lm's independent variables
lm.contribution.summaryOutputs the contribution of each lm independent variable - at...
lm.decompSums the decomp of a linear model.
lm.fitconfFit of a lm with confidence intervals.
lm.fitconf.ggplotPlot of lm.fitconf.
lm.multiVariableTestingTests multiple variables, returning a summary table
lm.nladwaCreates list of all functions associated with lm from this...
lm.trainAndTestCreate a data.table for actual v fitted, with train and test...
lm.trainAndTest.ggplotCreate a data.table for actual v fitted, with train and test...
lm.trainAndTest.resid.ggplotCreate a data.table for actual v fitted, with train and test...
MAPEMean Absolute Percentage Error
MAPE.trainAndTestMean Absolute Percentage Error on a lm.trainAndTest.object
monthlyToWeeklyConverts monthly data to weekly.
oneDividedbyCoef1/coef for a lm.
readExcelClipboardReads Excel table from clipboard to data.frame
replaceNAWithReplaces all NAs
replaceNAWithinCertainColsReplaces NAs in certain columns
residPlotPlot residuals of a lm over time.
scatterPlotScatter plot with linear regression.
stackCSVsfromFolderReads all CSVs from a folder, and stacks them by row
sumCertainColsSum certain columns
TrainAndTest.breakCreate a data.table for actual v fitted, with train and test...
TrainAndTest.sampleCreate a data.table for actual v fitted, with train and test...
uniqueCharColsPrints the unique values of any character columns
varsPlotPlot multiple variables over time.
wideToLongConverts data from wide to long
writeModelToCSVLinear model summary, actual v fitted, and decomp to CSV
writeToClipboardWrites a data.table or data.frame to the clipboard
writeToCSVWrites a data.table or data.frame to a CSV
nladwa/nladwa documentation built on June 9, 2017, 10:19 a.m.