moreStats function

Statistical Summary of a Data Frame

Statistical Summary of a Data Frame

This function produces another summary of a data.frame. This function was proposed in order to apply some functions globally on a data.frame: quantile, median, min and max. The usual R

version cannot do so.

moreStats(x, quantile = 0.95, show = FALSE)

Arguments

  • x: numeric: matrix or data.frame
  • quantile: numeric: quantile of the distribution
  • show: logical: if TRUE prints the quantile choosen

Returns

numeric: data.frame of statistics: mean, median, quantile, standard deviation, minimum and maximum

Examples

## ................................................ ## GENERATION OF A MATRIX OF 100 OBSERVATIONS AND 10 VARIABLES x <- matrix(rnorm(1000),ncol=10) ## STATISTICS res <- moreStats(x, quantile=0.05, show=TRUE) res

See Also

plotuScree, nScree, plotnScree, plotParallel

Author(s)

Gilles Raiche

Centre sur les Applications des Modeles de Reponses aux Items (CAMRI)

Universite du Quebec a Montreal

raiche.gilles@uqam.ca

  • Maintainer: Gilles Raiche
  • License: GPL (>= 3.5.0)
  • Last published: 2022-10-10

Useful links