| CD_model | R Documentation |
The 'CRS.4' and 'CRS.5' logistical models provide Brain-Cousens modified logistical models to describe u-shaped hormesis. This model was extracted from the 'drc' package and adapted for temperature analysis in seed germination
CD_model(
trat,
resp,
npar = "CRS.4",
error = "SE",
ylab = "Germination (%)",
xlab = expression("Temperature ("^"o" * "C)"),
theme = theme_classic(),
legend.position = "top",
cardinal = 0,
r2 = "all",
width.bar = NA,
scale = "none",
textsize = 12,
pointsize = 4.5,
linesize = 0.8,
pointshape = 21,
font.family = "sans"
)
trat |
Numerical or complex vector with treatments |
resp |
Numerical vector containing the response of the experiment. |
npar |
Number of model parameters |
error |
Error bar (It can be SE - default, SD or FALSE) |
ylab |
Variable response name (Accepts the expression() function) |
xlab |
treatments name (Accepts the expression() function) |
theme |
ggplot2 theme (default is theme_classic()) |
legend.position |
legend position (default is c(0.3,0.8)) |
cardinal |
defines the value of y considered extreme (default considers 0 germination) |
r2 |
coefficient of determination of the mean or all values (default is all) |
width.bar |
bar width |
scale |
Sets x scale (default is none, can be "log") |
textsize |
Font size |
pointsize |
shape size |
linesize |
line size |
pointshape |
format point (default is 21) |
font.family |
Font family (default is sans) |
The four-parameter model is given by the expression:
f(x) = 0 + \frac{d-0+f \exp(-1/x)}{1+\exp(b(\log(x)-\log(e)))}
while the five-parameter is:
f(x) = c + \frac{d-c+f \exp(-1/x)}{1+\exp(b(\log(x)-\log(e)))}
CoefficientsCoefficients and their p values
Optimum temperatureOptimum temperature (equivalent to the maximum point)
Optimum temperature responseResponse at the optimal temperature (equivalent to the maximum point)
Minimal temperatureTemperature that has the lowest response
Minimal temperature responseLowest predicted response
Predicted maximum basal valueLower basal limit temperature based on the value set by the user (default is 0)
Predicted minimum basal valueUpper basal limit temperature based on the value set by the user (default is 0)
AICAkaike information criterion
BICBayesian Inference Criterion
r-squaredDetermination coefficient
RMSERoot mean square error
graficoGraph in ggplot2 with equation
If the maximum predicted value is equal to the maximum x, the curve does not have a maximum point within the studied range. If the minimum value is less than the lowest point studied, disregard the value.
Model imported from the drc package (Ritz et al., 2016)
Gabriel Danilo Shimizu
Leandro Simoes Azeredo Goncalves
Seber, G. A. F. and Wild, C. J (1989) Nonlinear Regression, New York: Wiley and Sons (p. 330).
Ritz, C.; Strebig, J.C.; Ritz, M.C. Package 'drc'. Creative Commons: Mountain View, CA, USA, 2016.
library(seedreg)
data("aristolochia")
attach(aristolochia)
#================================
# Germination
#================================
CD_model(trat,germ)
#================================
# Germination speed
#================================
CD_model(trat, vel, ylab=expression("v"~(dias^-1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.