R formula package. Post a new example. A level maths revision tutorial video. After installing the devtools package ie calling installpackagesdevtools the development version of gformula can be installed from github with.
1 in section 2 we show two small motivating examples that convey the main ideas implemented in the package and how. You just have to wrap the relevant variable name in i. For the full list of videos and more revision resources visit wwwmathsgeniecouk.
Looks like there are no examples yet. Gpl 2 gpl 3 community examples. Api documentation r package.
Because everyone in the whole world has to access the same servers cran is mirrored on more than 80 registered servers often located at universities. This last line of code actually tells r to calculate the values of x2 before using the formulanote also that you can use the as is operator to escale a variable for a model. We would like to show you a description here but the site wont allow us.
Contribute to causalinferencegformula development by creating an account on github. The g formula can be used to estimate the causal effects of hypothetical time varying treatment interventions on the mean or risk of an outcome from longitudinal data with time varying confounding. 1 binary or continuousmulti level time varying treatments.
Installpackagesfortunes r may ask you to specify a cran mirror. 2 different types of outcomes survival or continuousbinary end. Pick one thats close to your location and r will connect to that server to download the package files.
Documentation reproduced from package formula version 12 3 license. Package formula may 3 2018 version 12 3 date 2018 05 02 title extended model formulas description infrastructure for extended formulas with multiple parts on the.