WangEngels_prediction {DyMEP}R Documentation

DRC function: WangEngels_prediction

Description

DRC function: WangEngels_prediction

Usage

WangEngels_prediction(x, params)

Arguments

x

effective env_variable value

params

list of input parameter; xmin_value represents the minimal env_variable value above which growth response will happen ; xopt_value: optimal growth point, env_variable values here have the highest response; xmax_value represents the maximal env_variable value above which no growth response will happen according to the wang engel model.

Value

value with WangEngels response

Examples

WangEngels_prediction(10, params = list("xmin_value"=1,
                                       "xopt_value"=25,
                                       "xmax_value"=35,
                                        "r_value"=0.5))
 # visualization
WangEngels <- lapply(seq(0, 40, 0.1),
WangEngels_prediction,
list("xmin_value"=1,
     "xopt_value"=25,
      "xmax_value"=35,
       "r_value"=0.5))
       plot(seq(0, 40, 0.1), WangEngels)

[Package DyMEP version 0.1.2 Index]