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.


matherealize/simdata documentation built on Dec. 5, 2024, 4:17 a.m.