├── .Rbuildignore ├── .github ├── .gitignore └── workflows │ ├── R-CMD-check.yaml │ └── test-coverage.yaml ├── .gitignore ├── DESCRIPTION ├── NAMESPACE ├── NEWS.Rmd ├── NEWS.md ├── R ├── bootstrap.R ├── comparisons.R ├── data.R ├── gformula.R ├── globals.R ├── helper.R ├── histories.R ├── interventions.R ├── pred.R ├── restrictions.R ├── s3methods.R └── simulate.R ├── README.Rmd ├── README.md ├── data ├── .DS_Store ├── basicdata.rda ├── basicdata_nocomp.rda ├── binary_eofdata.rda ├── censor_data.rda ├── continuous_eofdata.rda └── continuous_eofdata_pb.rda ├── gfoRmula.Rproj ├── man ├── basicdata.Rd ├── basicdata_nocomp.Rd ├── binary_eofdata.Rd ├── bootstrap_helper.Rd ├── carry_forward.Rd ├── censor_data.Rd ├── coef.gformula.Rd ├── continuous_eofdata.Rd ├── continuous_eofdata_pb.Rd ├── error_catch.Rd ├── fit_bounded_continuous.Rd ├── fit_glm.Rd ├── fit_multinomial.Rd ├── fit_trunc_normal.Rd ├── fit_zeroinfl_normal.Rd ├── get_cvgrphs.Rd ├── get_outgrphs.Rd ├── get_plot_info.Rd ├── gformula.Rd ├── gformula_binary_eof.Rd ├── gformula_continuous_eof.Rd ├── gformula_survival.Rd ├── hr_helper.Rd ├── intfunc.Rd ├── lagged.Rd ├── make_histories.Rd ├── natural.Rd ├── obs_calculate.Rd ├── plot.gformula_binary_eof.Rd ├── plot.gformula_continuous_eof.Rd ├── plot.gformula_survival.Rd ├── pred_fun_D.Rd ├── pred_fun_Y.Rd ├── pred_fun_cov.Rd ├── predict_binomial.Rd ├── predict_normal.Rd ├── predict_trunc_normal.Rd ├── print.gformula_survival.Rd ├── rmse_calculate.Rd ├── simple_restriction.Rd ├── simulate.Rd ├── static.Rd ├── threshold.Rd ├── vcov.gformula.Rd └── visit_sum.Rd ├── tests ├── testthat.R └── testthat │ └── test-gformula.R └── vignettes ├── .gitignore ├── Custom-Outcome-Models.Rmd └── Intervention-Specification.Rmd /.Rbuildignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/.Rbuildignore -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/.github/workflows/R-CMD-check.yaml -------------------------------------------------------------------------------- /.github/workflows/test-coverage.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/.github/workflows/test-coverage.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/.gitignore -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/NAMESPACE -------------------------------------------------------------------------------- /NEWS.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/NEWS.Rmd -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/NEWS.md -------------------------------------------------------------------------------- /R/bootstrap.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/bootstrap.R -------------------------------------------------------------------------------- /R/comparisons.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/comparisons.R -------------------------------------------------------------------------------- /R/data.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/data.R -------------------------------------------------------------------------------- /R/gformula.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/gformula.R -------------------------------------------------------------------------------- /R/globals.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/globals.R -------------------------------------------------------------------------------- /R/helper.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/helper.R -------------------------------------------------------------------------------- /R/histories.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/histories.R -------------------------------------------------------------------------------- /R/interventions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/interventions.R -------------------------------------------------------------------------------- /R/pred.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/pred.R -------------------------------------------------------------------------------- /R/restrictions.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/restrictions.R -------------------------------------------------------------------------------- /R/s3methods.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/s3methods.R -------------------------------------------------------------------------------- /R/simulate.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/R/simulate.R -------------------------------------------------------------------------------- /README.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/README.Rmd -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/README.md -------------------------------------------------------------------------------- /data/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/.DS_Store -------------------------------------------------------------------------------- /data/basicdata.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/basicdata.rda -------------------------------------------------------------------------------- /data/basicdata_nocomp.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/basicdata_nocomp.rda -------------------------------------------------------------------------------- /data/binary_eofdata.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/binary_eofdata.rda -------------------------------------------------------------------------------- /data/censor_data.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/censor_data.rda -------------------------------------------------------------------------------- /data/continuous_eofdata.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/continuous_eofdata.rda -------------------------------------------------------------------------------- /data/continuous_eofdata_pb.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/data/continuous_eofdata_pb.rda -------------------------------------------------------------------------------- /gfoRmula.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/gfoRmula.Rproj -------------------------------------------------------------------------------- /man/basicdata.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/basicdata.Rd -------------------------------------------------------------------------------- /man/basicdata_nocomp.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/basicdata_nocomp.Rd -------------------------------------------------------------------------------- /man/binary_eofdata.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/binary_eofdata.Rd -------------------------------------------------------------------------------- /man/bootstrap_helper.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/bootstrap_helper.Rd -------------------------------------------------------------------------------- /man/carry_forward.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/carry_forward.Rd -------------------------------------------------------------------------------- /man/censor_data.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/censor_data.Rd -------------------------------------------------------------------------------- /man/coef.gformula.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/coef.gformula.Rd -------------------------------------------------------------------------------- /man/continuous_eofdata.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/continuous_eofdata.Rd -------------------------------------------------------------------------------- /man/continuous_eofdata_pb.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/continuous_eofdata_pb.Rd -------------------------------------------------------------------------------- /man/error_catch.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/error_catch.Rd -------------------------------------------------------------------------------- /man/fit_bounded_continuous.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/fit_bounded_continuous.Rd -------------------------------------------------------------------------------- /man/fit_glm.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/fit_glm.Rd -------------------------------------------------------------------------------- /man/fit_multinomial.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/fit_multinomial.Rd -------------------------------------------------------------------------------- /man/fit_trunc_normal.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/fit_trunc_normal.Rd -------------------------------------------------------------------------------- /man/fit_zeroinfl_normal.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/fit_zeroinfl_normal.Rd -------------------------------------------------------------------------------- /man/get_cvgrphs.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/get_cvgrphs.Rd -------------------------------------------------------------------------------- /man/get_outgrphs.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/get_outgrphs.Rd -------------------------------------------------------------------------------- /man/get_plot_info.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/get_plot_info.Rd -------------------------------------------------------------------------------- /man/gformula.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/gformula.Rd -------------------------------------------------------------------------------- /man/gformula_binary_eof.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/gformula_binary_eof.Rd -------------------------------------------------------------------------------- /man/gformula_continuous_eof.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/gformula_continuous_eof.Rd -------------------------------------------------------------------------------- /man/gformula_survival.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/gformula_survival.Rd -------------------------------------------------------------------------------- /man/hr_helper.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/hr_helper.Rd -------------------------------------------------------------------------------- /man/intfunc.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/intfunc.Rd -------------------------------------------------------------------------------- /man/lagged.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/lagged.Rd -------------------------------------------------------------------------------- /man/make_histories.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/make_histories.Rd -------------------------------------------------------------------------------- /man/natural.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/natural.Rd -------------------------------------------------------------------------------- /man/obs_calculate.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/obs_calculate.Rd -------------------------------------------------------------------------------- /man/plot.gformula_binary_eof.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/plot.gformula_binary_eof.Rd -------------------------------------------------------------------------------- /man/plot.gformula_continuous_eof.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/plot.gformula_continuous_eof.Rd -------------------------------------------------------------------------------- /man/plot.gformula_survival.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/plot.gformula_survival.Rd -------------------------------------------------------------------------------- /man/pred_fun_D.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/pred_fun_D.Rd -------------------------------------------------------------------------------- /man/pred_fun_Y.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/pred_fun_Y.Rd -------------------------------------------------------------------------------- /man/pred_fun_cov.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/pred_fun_cov.Rd -------------------------------------------------------------------------------- /man/predict_binomial.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/predict_binomial.Rd -------------------------------------------------------------------------------- /man/predict_normal.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/predict_normal.Rd -------------------------------------------------------------------------------- /man/predict_trunc_normal.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/predict_trunc_normal.Rd -------------------------------------------------------------------------------- /man/print.gformula_survival.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/print.gformula_survival.Rd -------------------------------------------------------------------------------- /man/rmse_calculate.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/rmse_calculate.Rd -------------------------------------------------------------------------------- /man/simple_restriction.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/simple_restriction.Rd -------------------------------------------------------------------------------- /man/simulate.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/simulate.Rd -------------------------------------------------------------------------------- /man/static.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/static.Rd -------------------------------------------------------------------------------- /man/threshold.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/threshold.Rd -------------------------------------------------------------------------------- /man/vcov.gformula.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/vcov.gformula.Rd -------------------------------------------------------------------------------- /man/visit_sum.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/man/visit_sum.Rd -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/test-gformula.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/tests/testthat/test-gformula.R -------------------------------------------------------------------------------- /vignettes/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.R 3 | -------------------------------------------------------------------------------- /vignettes/Custom-Outcome-Models.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/vignettes/Custom-Outcome-Models.Rmd -------------------------------------------------------------------------------- /vignettes/Intervention-Specification.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CausalInference/gfoRmula/HEAD/vignettes/Intervention-Specification.Rmd --------------------------------------------------------------------------------