logistic | R Documentation |
Compute various logistic patterns
logistic( pattern, x, slope_asc = NULL, location_asc = NULL, slope_desc = NULL, location_desc = NULL )
pattern |
logistic function option. Options: "simple_logistic" and "double_logistic" |
x |
Vector or scalar of indepenent variable |
slope_asc |
Slope parameter for ascending curve |
location_asc |
Location parameter for ascending curve |
slope_desc |
Slope parameter for descending curve |
location_desc |
Location parameter for descending curve |
Values of function at x
.
## Not run: logistic(pattern = "simple_logistic", x = c(1:12), slope_asc = 3, location_asc = 1.5) logistic(pattern = "double_logistic", x = c(1:12), slope_asc = 3, location_asc = 1.5, slope_desc = 2, location_desc = 10) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.