summary | R Documentation |
summary
produces summaries of a FlashR object.
.summary(x) ## S4 method for signature 'fm' summary(object, ...) ## S4 method for signature 'fmV' summary(object, ...)
x |
a FlashR vector or matrix. |
It computes the min, max, sum, mean, L1, L2, number of non-zero values if the argument is a vector, or these statistics for each column if the argument is a matrix.
A list containing the following named components:
minThe minimum value
maxThe maximum value
meanThe average
normL1The L1 norm
normL2The L2 norm
numNonzerosThe number of non-zero values
mat <- fm.runif.matrix(100, 10) summary(mat)