histvd.Rdhistvd creates one or more vertically aligned histograms,
rendered by hist. This is useful for visual
comparison of several numeric vectors.
histvd(..., breaks = 100, col = "gray")
| ... | one or more numeric vectors to compare |
|---|---|
| breaks | histogram breaks, see 'hist' |
| col | colour(s) to be used to fill the bars. The default |
a list of objects of class 'histograms' (see
histv)
# two aligned histograms with the same 'ylim' showing the relative # proportions histvd(seq(1,10), seq(1,20,.1), ylimFixed=TRUE)