View source: R/library--analysis_tools--DHS_methods--regression_algo.R
regressionInnerLoop | R Documentation |
Runs a Linear regression on the data and returns it in a form to be merged in the runRegressionAnalysis function
regressionInnerLoop(Formula, DF, Keep = NULL)
Formula |
LM model to be fit on DF |
DF |
Contains the data needed for Formula to work |
Keep |
The col in the original DF to keep besides Date |
a row of a DF containing the site, last date, timespan, number of rows, model slope and significance, and predicted percent change, and what linear model was used
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.