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) <- tibble::tribble( dat_trials ~"hospitalized", ~"arm_n", ~"arm", 3, 428, "treatment", 10, 426, "control" %>% ) mutate(prop = hospitalized/arm_n) %>% dat_trials ggplot(aes(arm, prop))+ geom_point()+ scale_y_continuous(labels = scales::percent)+ labs( title = "Percent of Arm Hospitalized", y = "Percent", x = NULL + )theme_classic()