Different utility functions to be used in rrcov and packages depending on rrcov:
myscreeplot
Plots screeplots for two covariance matrices
mtxconfusion
Computes a confusion matrix between actual and predicted class membership
MATLAB-like functions
sqrtm
Returns the square root of a symetric positive definite matrix
ones
Returns a nxp matrix filled with ones
zeros
Returns a nxp matrix filled with zeros
vecnorm
Returns the norm of a vector
rankMM
Returns the rank of the matrix
repmat
Replicates a matrix
myscreeplot(rcov, ccov)
mtxconfusion(actual, predicted, prior = NULL, printit=FALSE)
sqrtm(A)
A matrix.
Optional numerical tolerance (compared to singular values).
A vector of non-increasing singular values of a matrix A, if already computed.
Covariance matrices.
Number of rows.
Number of columns.
Actual class membership.
Predicted class membership.
Prior probabilities.
Wheather to print the results.
Valentin Todorov valentin.todorov@chello.at