- Notifications
You must be signed in to change notification settings - Fork0
R package to supplement bartCause and thinkCausal
License
Unknown, MIT licenses found
Licenses found
Unknown
LICENSEMIT
LICENSE.mdNotificationsYou must be signed in to change notification settings
priism-center/plotBart
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
plotBart is a diagnostic and plotting package forbartCause andthinkCausal.
library(plotBart)data(lalonde)confounders<- c('age','educ','black','hisp','married','nodegr')# fit BART modelmodel_results<-bartCause::bartc(response=lalonde[['re78']],treatment=lalonde[['treat']],confounders= as.matrix(lalonde[,confounders]),estimand='ate',commonSup.rule='none',verbose=FALSE,keepTrees=TRUE)# plot common supportplot_common_support(.model=model_results)
# plot CATE and manipulate ggplot objectplot_CATE(.model=model_results,type='density',ci_80=TRUE,ci_95=TRUE,.mean=TRUE)+ labs(subtitle='My comments on the results')+ theme_classic()
plotBart is currently in development and is available to test byinstalling via:
# latest release on CRANinstall.packages('plotBart')# latest development version# install.packages("remotes")remotes::install_github('priism-center/plotBart')
About
R package to supplement bartCause and thinkCausal
Topics
Resources
License
Unknown, MIT licenses found
Licenses found
Unknown
LICENSEMIT
LICENSE.mdUh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.

