dtapply: Apply function and return a data.table

View source: R/dtapply.R

dtapplyR Documentation

Apply function and return a data.table

Description

A convenience function that returns a data.table with a column representing the input values and a column with results. This is still experimental and will not work for many input structures.

Usage

dtapply(X, FUN, ...)

Arguments

...

arguments passed to lapply

Details

Only functions that return vectors are currently supported. dtapply should support functions that return data.frames.

Value

a data.table


NMsim documentation built on Nov. 2, 2024, 9:06 a.m.