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/simulatoR documentation built on Dec. 7, 2024, 10:29 p.m.