The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
plotBart uses ggplot2 to construct plots. These functions return ggplot objects that can be manipulated similar to standard ggplot2::ggplot()
calls. Plot titles, subtitles, labels, captions, and themes can be easily customized using ggplot syntax.
library(plotBart)
data(lalonde)
<- c('age', 'educ', 'black', 'hisp', 'married', 'nodegr')
confounders
# plot balance across treatment and control groups
<- plot_balance(.data = lalonde,
p treatment = 'treat',
confounders = confounders)
p
+
p labs(title = 'My comments on the results',
subtitle = NULL,
caption = 'December 2021',
x = 'Mean diff b/t treatment and control')
+
p theme_classic()
# set the theme for all plots within this R session
theme_set(theme_bw())
$data
p#> # A tibble: 6 × 2
#> name diff
#> <chr> <dbl>
#> 1 age 0.107
#> 2 black 0.0438
#> 3 educ 0.144
#> 4 hisp -0.170
#> 5 married 0.0943
#> 6 nodegr -0.306
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.