partition_table: Generate partition summary statistics for array objects along...

View source: R/generics.R

partition_tableR Documentation

Generate partition summary statistics for array objects along the last dimension

Description

Generate partition summary statistics for array objects along the last dimension

Usage

partition_table(x, na.rm = FALSE, ...)

## S3 method for class 'array'
partition_table(x, na.rm = FALSE, ...)

## S3 method for class 'AbstractFArray'
partition_table(x, na.rm = FALSE, ...)

Arguments

x

an array or farray

na.rm

whether to remove NA when calculating summary statistics

...

passed to other methods or ignored

Value

A data frame with the following possible columns: Min, Max, Mean, Standard Deviation, NAs (total number of NA), and Length.

Author(s)

Zhengjia Wang

Examples


# R array
x <- array(1:27, c(3,3,3))
partition_table(x)

# farray
x <- farray(tempfile(), storage_format = 'double', dim = c(3,3,3))
x[] <- 1:27
partition_table(x, quiet=TRUE)


dipterix/farray documentation built on Oct. 16, 2022, 6:13 p.m.