emax_fun: Function to calculate Emax

Description Usage Arguments Value Examples

View source: R/emax_fun.R

Description

Calculation used for Emax 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
emax_fun(Dose, E0 = 0, ED50 = 50, Emax = 100)

Arguments

Dose

User provided dose values

E0

Effect at time 0

ED50

50% of maximum effect

Emax

Maximum effect

Value

Numeric value/vector representing the response value.

Examples

1
emax_fun(Dose = 100)

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