Description Usage Arguments Value Author(s) See Also Examples
A measure for one-dimensional skewness based on quantiles.
1 | skew1d(x)
|
x |
A numeric vector, a numeric matrix or a data frame. |
A single value or a vector including the results of skew1d
for each variable (in case of numeric matrices or data frames). If variables from data frames are categorical, 'NA' is returned.
Katrin Grimm
multimod1d
, discrete1d
, iaunivariate
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(Election2005)
## Not run:
skew <- skew1d(Election2005)
maxv <- order(skew,decreasing=TRUE)[1:4]
par(mfrow=c(2,2))
for(i in 1:4){
hist(Election2005[,maxv[i]], xlab="",breaks=30,
main=paste(names(Election2005[maxv[i]])))
}
# Explore skewness, multimodality and discreteness within interactive environment.
iaunivariate(Election2005)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.