logistic_fun: Function to fit logistic model

Description Usage Arguments Value Examples

View source: R/logistic_fun.R

Description

Simple logistic function as used in Mango training materials. Note: This function has be renamed using tidyverse-style snake_case naming conventions. However the original name of the function has been kept to ensure backwards compatibility with the book SAMS Teach Yourself R in 24 Hours (ISBN: 978-0-672-33848-9).

Usage

1
logistic_fun(Dose, E0 = 0, EC50 = 50, Emax = 1, rc = 5)

Arguments

Dose

The dose value to calculate at

E0

Effect at time 0

EC50

50% of maximum effect

Emax

Maximum effect

rc

rate constant

Value

Numeric value/vector representing the response value.

Examples

1
logistic_fun(Dose = 50)

mangoTraining documentation built on April 28, 2021, 9:07 a.m.