| betaPlotComp | R Documentation | 
Visually understand the effect of the beta distribution parameters
betaPlotComp(
  shape1 = c(0.5, 1:4, 10, 20),
  shape2 = shape1,
  cumulative = FALSE,
  cex = 0.8,
  las = 1,
  main = "",
  ylim = lim0(4),
  mar = rep(0, 4),
  oma = c(2, 2, 4.5, 2),
  mgp = c(3, 0.7, 0),
  keeppar = FALSE,
  textargs = NULL,
  ...
)
| shape1 | Vector of alpha values as in  | 
| shape2 | Beta values to be compared. DEFAULT: shape1 | 
| cumulative | Should the cumulative density distribution line be added? DEFAULT: FALSE | 
| cex | Character EXpansion size. DEFAULT: 0.8 | 
| las | Label Axis Style passed to  | 
| main | Main as in  | 
| ylim | LIMit for the Y axis. DEFAULT: lim0(4) | 
| mar | MARgins for plot passed to  | 
| oma | Outer MArgins for plot passed to  | 
| mgp | MarGin Placement. DEFAULT: c(3,0.7,0) | 
| keeppar | Should margin parameters be kept instead of being restored to previous value? DEFAULT: FALSE | 
| textargs | List of arguments passed to  | 
| ... | Further arguments passed to  | 
None. Used for plotting.
Tries to find suitable subplot for axis labels. This works only for increasing parameter values.
Berry Boessenkool, berry-b@gmx.de, Dec 2015
betaPlot
betaPlotComp()
betaPlotComp(oma=c(2,2,2,2), ylim=lim0(5.5), textargs=list(y=NA))
betaPlotComp(shape1=c(3,10,34), shape2=c(7,9,24))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.