cut_array: cut() an array and retain dimensions

Description Usage Arguments Value Examples

View source: R/util.R

Description

cut() an array and retain dimensions

Usage

1
cut_array(arr, ...)

Arguments

arr

The array to be processed by cut()

...

Arguments passed to the cut() function. See ?cut for details.

Value

A factor array divided using cut().

Examples

1
cut_volcano <- cut_array(volcano, breaks = 5)

hypercompetent/xstitch documentation built on July 22, 2019, 10:11 p.m.