Learn R Programming

QuantTools (version 0.5.7.1)

dof: Do calculation on data.table excluding first column

Description

Do calculation on data.table excluding first column

Usage

dof(x, fun, ...)

dofc(x, fun, ...)

x %dof% fun

x %dofc% fun

Arguments

x

data.table

fun

function or text formula where x represents argument

...

additional parameters to function if action is function

Details

DO Function ( Column-wise/Row-wise )