monitored_apply: A Monitored Version of 'apply'

View source: R/utils.R

monitored_applyR Documentation

A Monitored Version of 'apply'

Description

This function offer a monitored version of 'apply'.

Usage

monitored_apply(X, MARGIN = 1, FUN, mod = 100, ...)

Arguments

X

A matrix usualy gives as 'apply' first parameter.

MARGIN

An integer describing the marginal to use, usualy gives as 'apply' second parameter.

FUN

A function usualy gives as 'sapply' third parameter.

mod

An integer that define the frequency of the monitoring.

...

Parameters passed to 'func' function.

Value

A vector of the application of the 'func' function to each element of the 'vec' vector.


fchuffar/epimedtools documentation built on Feb. 3, 2024, 2:21 a.m.