hist | R Documentation |
Produces an histogram of univariate ILR data (see Filzmoser et al., 2009).
## S4 method for signature 'CompositionMatrix'
hist(
x,
...,
freq = FALSE,
ncol = NULL,
flip = FALSE,
main = NULL,
sub = NULL,
ann = graphics::par("ann"),
axes = TRUE,
frame.plot = axes
)
x |
A |
... |
Further parameters to be passed to |
freq |
A |
ncol |
An |
flip |
A |
main |
A |
sub |
A |
ann |
A |
axes |
A |
frame.plot |
A |
hist()
is called for its side-effects: is results in a graphic being
displayed (invisibly return x
).
N. Frerebeau
Filzmoser, P., Hron, K. & Reimann, C. (2009). Univariate Statistical Analysis of Environmental (Compositional) Data: Problems and Possibilities. Science of The Total Environment, 407(23): 6100-6108. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.scitotenv.2009.08.008")}.
Other plot methods:
as_graph()
,
barplot()
,
plot()
,
plot_logratio
## Data from Aitchison 1986
data("hongite")
## Coerce to compositional data
coda <- as_composition(hongite)
## Boxplot plot
hist(coda)
hist(coda[, 1, drop = FALSE])
univariate_ilr(coda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.