Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

R package to supplement bartCause and thinkCausal

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

priism-center/plotBart

Repository files navigation

licenselifecycleR-CMD-checklast commitCodeFactor

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()

Installation

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
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp