s1d.hist | R Documentation |
This function represents a score using a chart with rectangular bars.
s1d.hist(score, breaks = NULL, nclass = round(log2(length(score)) + 1),
type = c("count", "density", "percent"), right = TRUE, facets = NULL,
plot = TRUE, storeData = TRUE, add = FALSE, pos = -1, ...)
score |
a numeric vector (or a data frame) used to produce the plot |
breaks |
a vector of values to split |
nclass |
an integer for the number of desired intervals, ignored if |
type |
a value among |
right |
a logical indicating if the histogram cells are right-closed (left open) intervals. |
facets |
a factor splitting |
plot |
a logical indicating if the graphics is displayed |
storeData |
a logical indicating if the data are stored in
the returned object. If |
add |
a logical. If |
pos |
an integer indicating the position of the
environment where the data are stored, relative to the environment
where the function is called. Useful only if |
... |
additional graphical parameters (see
|
Graphical parameters for polygons are available in ppolygons
of adegpar
.
Some appropriated graphical parameters in p1d
are also available.
An object of class ADEg
(subclass C1.hist
) or ADEgS
(if add
is TRUE
and/or
if facets or data frame for score
are used).
The result is displayed if plot
is TRUE
.
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
C1.hist
ADEg.C1
hist
set.seed(40)
score1 <- rnorm(1000)
s1d.hist(score1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.