knitr::opts_chunk$set(echo = TRUE)
gformula()
function. See the
vignette "A Simplified Approach for Specifying Interventions in gfoRmula".gformula()
function.
See the vignette "Using Custom Outcome Models in gfoRmula".sim_trunc
to the gformula()
function"categorical time"
set.seed
statement, point estimates can be
numerically different from previous versions of the package.gformula()
function so that it produces a warning message rather than
an error message when one of the bootstrap replicates fails. The bootstrap
standard errors and 95% CIs are calculated based on the bootstrap replicates that do not fail.gformula()
function that assumed that the name of the ID variable in obs_data
was 'id'
gformula()
functionint_visit_type
argument in the gformula()
functionboot_diag
argument in the gformula()
function.censor_data
and a corresponding example application in the documentation to illustrate the application of inverse probability weighting for estimating the natural course means / risk from the observed dataplot.gformula_survival()
, gformula_continuous_eof()
, and gformula_binary_eof()
functions now display the nonparametric/IP weighted and parametric g-formula estimates of the probability of observing each level of the covariate. Previously, these functions displayed the counts of categorical variables.truncated normal
(Thanks to @publichealthstudent)coef.gformula()
examplegformula()
for the gformula_survival()
, gformula_continuous_eof()
, and gformula_binary_eof()
functions. Users should now use the more general gformula()
function to apply the g-formula.continuous_eofdata_pb
, which illustrates how to prepare a data set with pre-baseline timescovparams$control
argument. (Thanks to @jerzEG for the suggestion)model_fits
argument of the gformula()
functionsim_data
component of the output of the gformula()
functionshow_progress
argument of the gformula()
function for further detailssummary()
, coef()
, and vcov()
S3 methods for objects of class 'gformula'fits
in the print.gformula_survival()
, print.gformula_continuous_eof()
, and print.gformula_binary_eof()
functions. Added argument all_times
in the print.gformula_survival()
functionlagavg()
functionexample_intervention1()
, example_intervention2()
, and
visit_sum_orig()
, as these functions are not used internally and users
should not directly apply themvisit_sum()
and natural()
, as these functions are used
internally and users should not directly apply themAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.