Learn R Programming

contingency (version 0.0.10)

capply: Apply function over tables

Description

Apply a function to each contingency table in a tables object.

Usage

capply(x, f, ...)

Value

a vector, matrix or list of outputs from the function f.

Arguments

x

object of class tables

f

function to apply to each table

...

additional arguments to f