td2pLL_plot_basis: helper function for plotting td2pLL model

View source: R/td2pLL_plot_helpers.R

td2pLL_plot_basisR Documentation

helper function for plotting td2pLL model

Description

Generates basis of td2pLL plot in plotly

Usage

td2pLL_plot_basis(
  dose_seq,
  time_seq,
  input_grid,
  xaxis_title,
  xaxis_scale,
  yaxis_title,
  yaxis_scale,
  zaxis_title,
  title
)

Arguments

dose_seq

(numeric())

time_seq

(numeric())

input_grid

(data.frame())
Contains the function values. Number of rows is length of dose_seq, number of cols is length of time_seq. The (i,j)th element is the response value at dose dose_seq(i) and time_seq(j).

xaxis_title

(character(1))
Title for dose-axis, time-axis and response-axis.

xaxis_scale

(character(1) in c("log", "linear", "-")
Scale of x-axis (dose-axis).
If "-" is set, then plot_ly() tries to guess which scale to use.

yaxis_title

(character(1))
Title for dose-axis, time-axis and response-axis.

yaxis_scale

(character(1) in c("log", "linear", "-")
Scale of y-axis (time-axis).
If "-" is set, then plot_ly() tries to guess which scale to use.

zaxis_title

(character(1))
Title for dose-axis, time-axis and response-axis.

title

(character(1))
Optional plot title.


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