Description Usage Arguments Value Author(s) References Examples
View source: R/determine_Effect_Duration.R
Determine the duration of effect for each treatment
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
)
|
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. |
A numeric sum total of Partial Response cases recorded in the group.
Bill Forrest <forrest@gene.com>
Bill Forrest forrest@gene.com
1 | cat('Currently no working example for unexported function determine_Effect_Duration().')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.