apply_array {simdata}R 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.


[Package simdata version 0.4.0 Index]