reg_linear_prediction {DyMEP}R 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)

[Package DyMEP version 0.1.2 Index]