View source: R/makePPTList_twangCont.R
makePPTList_twangCont | R Documentation |
Make PPT list with continuous variable
makePPTList_twangCont(x, dep = "", seed = 1234)
x |
string |
dep |
character Name of dependent variable |
seed |
numeric random seed |
library(twangContinuous)
library(survey)
x="ps.cont( treat ~ x1 + x2,data=simData2,n.trees=5000)"
result=makePPTList_twangCont(x,dep="y")
x="ps.cont(tss_0~sfs8p_0+sati_0+sp_sm_0+recov_0+subsgrps_n+treat,data=dat,n.trees = 500)"
result=makePPTList_twangCont(x,dep="sfs8p_3",seed=1234)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.