Description Usage Arguments Value References See Also Examples
Four graphical representations of the empirical features of a numeric vector interpreted as a sample from a given statistical distribution
1 | eda.shape(x)
|
x |
A numeric vector whose entries are interpreted as observations from a given distribution |
Produce histogram, normal Q-Q plot, box-plot and kernel density estimator of the numerical vector given as parameter.
S-Plus
help files
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function(x)
{
par(mfrow = c(2, 2))
hist(x)
boxplot(x)
iqd <- summary(x)[5] - summary(x)[2]
plot(density(x, width = 2 * iqd), xlab = "x", ylab = "", type = "l")
qqnorm(x)
qqline(x)
par(mfrow = c(1, 1))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.