mikemeredith / BEST

Bayesian Estimation Supersedes t-Test
32 stars 4 forks source link

Added the ability to control the color of the plots #10

Closed jvornhagen closed 3 years ago

jvornhagen commented 3 years ago

The plots all default to the colors used before and no existing code should be affected as the color variables are optional. Added variables are:

mainColor="skyblue" 
dataColor="red"
comparisonColor="darkgreen"
ROPEColor = "darkred"
priorColor="yellow"
overlapColor="green"

The latter two are only used in postPriorOverlap.R. Variables have been explained in the appropriate .Rd files.

mikemeredith commented 3 years ago

Thanks Jan! Needed a few changes to get it past R CMD check. Also made a few corrections in the man pages: we show histograms, not bar plots, and compVal and ROPE have nothing to do with HDI.

mikemeredith commented 3 years ago

Now on CRAN.