td2pLL_plot_add_ED50: helper function for plotting td2pLL models

View source: R/td2pLL_plot_helpers.R

td2pLL_plot_add_ED50R Documentation

helper function for plotting td2pLL models

Description

Adds ED50 line to td2pLL model plot

Usage

td2pLL_plot_add_ED50(
  plotly_plot,
  td2pLL_coefs,
  time_seq,
  dose_lim,
  ED50_line_col,
  ED50_line_width
)

Arguments

plotly_plot


A plotly plot generated with td2pLL_plot_basis

td2pLL_coefs

(named numeric(4))
Contains parameters for h, delta, gamma and c0 of the td2pLL model.

time_seq

(numeric())

dose_lim

(numeric(2))
Boundaries of the doses (xaxis) for plotting. Note: If xaxis_scale = "log" (default), then dose_lim cannot include 0. If dose_lim shall include the 0, set xaxis_scale = "linear".

ED50_line_col

(character(1))
Color for optionally added ED50 line.

ED50_line_width

(numeric(1))
Width for optionally added ED50 line.


jcduda/td2pLL documentation built on May 14, 2022, 6:48 p.m.