colapply: apply FUN to columns

Description Usage Arguments Value Author(s)

Description

apply FUN to columns

Usage

1
colapply(x, FUN, ...)

Arguments

x

a matrix or data.frame

FUN

a function

...

further arguments passed to FUN

Value

the result of running FUN on each column

Author(s)

Mark Cowley


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.