apply_array: Helper to apply functions

View source: R/utilities.R

apply_arrayR Documentation

Helper to apply functions

Description

Used to make use of apply-like operations, regardless of wether the input is a matrix or a data.frame

Usage

apply_array(obj, dim, fun)

Arguments

obj

Matrix or data.frame.

dim

Dimension to apply function to.

fun

Function object to apply.


simdata documentation built on April 4, 2025, 12:50 a.m.