View source: R/library--analysis_tools--DHS_methods--classification_function.R
classifyRegressionAnalysis | R Documentation |
Adds the DHS Classification scheme to data created by runRegressionAnalysis
classifyRegressionAnalysis(
DF,
PSigTest = TRUE,
per_changed_column = modeled_percentchange,
model_sig_column = lmreg_sig
)
DF |
dataframe that contains results of buildRegressionEstimateTable |
PSigTest |
Controls if we filter values with P-values>.3 |
per_changed_column |
column name of estimated percent change of signal |
model_sig_column |
column name of significance of linear model that generated the percent change |
DF with an extra column Catagory containing the results of the DHS binning
data(Example_data, package = "Covid19Wastewater")
Example_data$modeled_percentchange = 0
Example_data$lmreg_sig = .01
classifyRegressionAnalysis(Example_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.