Description Usage Arguments Details Author(s) See Also Examples

Plot a standardized histogram of *DALY Calculator* output.

1 2 3 4 |

`x ` |
Object of class |

`xval ` |
Value to plot on x-axis;
must be any of |

`prob ` |
Probability span by plotted credibility interval;
defaults to |

`central ` |
Plotted central value of distribution;
must be any of |

`breaks ` |
See |

`fill ` |
The colour to be used to fill the bars |

`... ` |
Additional arguments to be passed to |

This function plots a standardized histogram of *DALY Calculator*
output. The histogram contains by default 25 bars. The limits of the
credible interval are denoted by vertical lines; the credible interval
limits and central tendency are printed above the histogram.

`DALYcalculator`

(for a brief description of the *DALY Calculator*)

`DALYmanual`

(for a more comprehensive overview)

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
## Not run:
##= load NCC example ======================================
setDALYexample(1)
##= perform DALY calculation, store results in 'x' =======
x <- getDALY()
##= plot histogram of total deaths ========================
##= + show 90% credible interval & median =================
hist(x, xval = "deaths", prob = 0.90, central = "median")
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.