plot_sigmoid_functional_form: Plot the Sigmoid Functional Form with Labeled Parameters

View source: R/model-sigmoid-function.R

plot_sigmoid_functional_formR Documentation

Plot the Sigmoid Functional Form with Labeled Parameters

Description

Generates a plot of the sigmoid() functional form with the values of the parameters ac50, hill, top, and bottom labeled.

Usage

plot_sigmoid_functional_form(
  ac50,
  hill,
  top,
  bottom,
  log_dose,
  treatment_units,
  response_units
)

Arguments

ac50

numeric value for the ac50 parameter, which is either ec50 with the sigmoid_agonist_formula() or ic50 for the sigmoid_antagonist_formula()

hill

numeric value for the hill parameter

top

numeric value for the top parameter

bottom

numeric value for the bottom parameter

log_dose

numeric vector of treatment values

treatment_units

character units for the log dose

response_units

character units for the response

Value

ggplot2::ggplot() object

See Also

sigmoid()

Examples

## Not run: 
  plot_sigmoid_functional_form(
    ac50 = -6,
    hill = -1,
    top = 100,
    bottom = 0,
    treatment_label = "Log[Molar]",
    response_label = "% Baseline")
## End(Not run)


maomlab/BayesPharma documentation built on Aug. 24, 2024, 8:45 a.m.