View source: R/DyMEP_dose_response_curves.R
reg_linear_prediction | R Documentation |
linear model according to an env variable
reg_linear_prediction(env_variate, params)
env_variate |
value of a environmental covariate |
params |
list of input parameter; intercept estimated value, slope of the linear phase |
value with reg_linear response
reg_linear_prediction(1,list("intercept_value"=1, "slope_value"=5))
# visualization
reg_linear <- lapply(seq(0, 10, 0.1),
reg_linear_prediction,
list("intercept_value"=-1,"slope_value"=1))
plot(seq(0, 10, 0.1), reg_linear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.