reg_linear_prediction: DRC function: reg_linear_prediction

View source: R/DyMEP_dose_response_curves.R

reg_linear_predictionR Documentation

DRC function: reg_linear_prediction

Description

linear model according to an env variable

Usage

reg_linear_prediction(env_variate, params)

Arguments

env_variate

value of a environmental covariate

params

list of input parameter; intercept estimated value, slope of the linear phase

Value

value with reg_linear response

Examples

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)

DyMEP documentation built on May 29, 2024, 4:29 a.m.