logistic_fun: Function to fit logistic model

View source: R/logistic_fun.R

logistic_funR Documentation

Function to fit logistic model

Description

Simple logistic function as used in Ascent 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

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

logistic_fun(Dose = 50)


ascentTraining documentation built on April 27, 2022, 9:06 a.m.