Description Usage Arguments Details Value Note Author(s) See Also Examples
Calculate standardised matrix for Bertin analysis. Marginal means and marginal permutation, sorting by score, are cached.
1 | bertinzscore(z, var.orientation = c("byrow", "bycolumn", "global"), trim = 0, na.rm = FALSE, ...)
|
z |
A data matrix |
var.orientation |
"byrow", "bycolumn", "global"). By default, following Bertin's conventions variables are in rows. Use
|
trim |
the fraction (0 to 0.5) of observations to be
trimmed from each end of |
na.rm |
a logical value indicating whether NA values should be stripped before the computation proceeds. |
... |
other parameters, (see |
Calculates (x-mean)/sd
. If sd
is zero, zero is returned as value.
scores |
An augmented matrix of rank scores. The matrix has the class "bertin" and carries the attributes:
This list is subject to change. |
If trim !=0
, a trimmed version of sd()
or a robust version should be used.
G. Sawitzki
1 2 3 | data(Hotel)
hotelzscores <- bertinzscore(Hotel)
plot.bertin(hotelzscores)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.