This is cmdstanr version 0.4.0
- Online documentation and vignettes at mc-stan.org/cmdstanr
- CmdStan path set to: /Users/michael/.cmdstanr/cmdstan-2.28.2
- Use set_cmdstan_path() to change the path
A newer version of CmdStan is available. See ?install_cmdstan() to install it. To disable this check set option or environment variable CMDSTANR_NO_VER_CHECK=TRUE.
This is posterior version 1.2.1
Attaching package: 'posterior'
The following objects are masked from 'package:stats': mad, sd, var
Attaching package: 'dplyr'
The following objects are masked from 'package:stats': filter, lag
The following objects are masked from 'package:base': intersect, setdiff, setequal, union
library(ggdist) theme_set(theme_bw()) <- tibble::tribble( dat_trials ~"cases", ~"arm_n", ~"arm", 23, 1552, "treatment", 27, 776, "control" %>% ) mutate(prop = cases/arm_n) %>% dat_trials ggplot(aes(arm, prop))+ geom_point()+ scale_y_continuous(labels = scales::percent)+ labs( title = "Percent of Arm Cases", y = "Percent", x = NULL )