determine_Effect_Duration: Determine the duration of effect for each treatment

Description Usage Arguments Value Author(s) References Examples

View source: R/determine_Effect_Duration.R

Description

Determine the duration of effect for each treatment

Usage

1
2
3
4
5
6
7
8
9
determine_Effect_Duration(
  XY,
  colname_deriv1 = "pred_gam_deriv1",
  colname_ref_deriv1 = "base_pred_gam_deriv1",
  diff_threshold = -1e-04,
  grid_n = 1000,
  auto_round = TRUE,
  round_to = 4
)

Arguments

XY

data.frame with times and original-scale tumor burdens, etc., for each of several identifiers. Typically this is from the cleaned output data of maeve::model_study().

colname_deriv1

character name of column with first derivative from GAM model fit.

colname_ref_deriv1

character name of column with first derivative from specified reference group of GAM model fit.

diff_threshold

numeric threshold to differentiate from zero, i.e., values below this are treated as zeros in evaluating changes.

grid_n

numeric number of equally spaced grid points across which to approximate the effect duration.

auto_round

logical: automatically round results to "round_to" digits?

round_to

numeric number of digits to which the effect duration should be rounded.

Value

A numeric sum total of Partial Response cases recorded in the group.

Author(s)

Bill Forrest <forrest@gene.com>

Bill Forrest forrest@gene.com

References

www.r-project.org

Examples

1
 cat('Currently no working example for unexported function determine_Effect_Duration().')

wfforrest/maeve documentation built on Jan. 1, 2021, 12:47 p.m.