dtapply {NMsim}R 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


[Package NMsim version 0.1.0 Index]