View source: R/toolRegressionTable.R
| toolRegressionTable | R Documentation |
creates Regression for selected options and saves calculated parametes inside the table.
toolRegressionTable(
scenario = "SSP2",
x = "IHME_USD05_PPP_pc",
denominator = NA,
z = NA,
regression_database_file = "scenario_database_regressionworlddata.csv",
quotient = "pop",
start_1 = NA,
start_2 = NA,
start_3 = NA,
start_4 = NA,
start_5 = NA,
start_6 = NA,
return_value = FALSE
)
scenario |
vector. Default "SSP2". Can be "SSP1", "SSP2", "SSP3", "SSP4", "SSP5" or "mix" and describes the overall scenario of the projection. |
x |
Indep Var |
denominator |
vector. Default NA. Specific fooddenominator share to make projection for. |
z |
other independent variables |
regression_database_file |
file with regressions to calculate |
quotient |
vector. Default is population ("pop") |
start_1 |
Default NA. Startvalue for 1st parameter. |
start_2 |
Default NA. Startvalue for 2nd parameter. |
start_3 |
Default NA. Startvalue for 3rd parameter. |
start_4 |
Default NA. Startvalue for 4th parameter. |
start_5 |
Default NA. Startvalue for 5th parameter. |
start_6 |
Default NA. Startvalue for 6th parameter. |
return_value |
Default to False. This is to stop printing the updated dataset on console. If you'd like to keep the updated dataset as an object, set this to true. |
data frame with additional rows containing parameters of newly calculated regression.
Abhijeet Mishra, Eleonora Martinelli
toolRegression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.