bayesplot
bayesplot copied to clipboard
fix ppc-distribution docs for argument usage & correct test function in test-ppc-distribution
In ppc-distribution, there is some insufficient information in the documentation, which should be updated. Also, test-ppc-distribution has a typo, which makes tests run the wrong function while testing. Here is a list of the things to be fixed:
documentation:
binwidth,bins, andbreaksarguments are passed toggdist::stat_dotsandggplot2::geom_areain addition togggplot2::geom_histfreqargument is used in frequency polygons in addition to histograms
testing:
- in
test-ppc-distribution,test_that("ppc_dens,pp_hist,ppc_freqpoly,ppc_boxplot return ggplot objects”)function usesppc_densfunction instead ofppd_densfunction at the part where it tests ppd versions of the functions
Great, thanks for finding these issues.