summaryR Documentation

FlashR Summaries

Description

summary produces summaries of a FlashR object.

Usage

.summary(x)

## S4 method for signature 'fm'
summary(object, ...)

## S4 method for signature 'fmV'
summary(object, ...)

Arguments

x

a FlashR vector or matrix.

Details

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.

Value

A list containing the following named components:

Examples

mat <- fm.runif.matrix(100, 10)
summary(mat)