hist_x: Histograms

Description Usage Arguments Details Value References Examples

View source: R/outlier.R

Description

A histogram for each numeric column in the design matrix

Usage

1
hist_x(X)

Arguments

X

Data.Frame

Details

A histogram is a graphical representation of the frequency distribution of cardinally scaled characteristics. It requires the division of the data into classes (bins), which can have a constant or variable width. Directly adjacent rectangles of the width of the respective class are drawn, whose areas represent the (relative or absolute) class frequencies (Rönz 1994, S. 147; Wassermann 2005, S. 127; Arens et al. 2008, S. 1226). The height of each rectangle then represents the (relative or absolute) frequency density, i.e. the (relative or absolute) frequency divided by the width of the corresponding class (Freedman et al. 1998).

Further information about histograms can be found in the documentation hist

Value

qqplot-object

References

Bernd Rönz, Hans G. Strohe: Lexikon Statistik. Gabler Verlag, 1994, S. 157

Larry Wasserman: All of Nonparametric Statistics. Springer, 2005, S. 127

Arens et al.: Mathematik. Spektrum Akademischer Verlag, 2008, S. 1226

D. Freedman, R. Pisani, R. Purves: Statistics. Third edition. W.W.Norton, 1998.

Examples

1
2
3
4
5
6
## Not run: 
set.seed(1678)
X <- data.frame(matrix(rnorm(1000), ncol = 9))
olsdiagnostic:::hist_x(X = X)

## End(Not run)

Kale-S/isnormalr documentation built on Sept. 23, 2019, 5:48 a.m.