rowapply {rv}R Documentation

Apply a Function to Rows of a Random Matrix

Description

rowapply takes a random matrix and applies a function to its rows, returning another rv object.

Usage

  rowapply(X, FUN, ...)

Arguments

X random matrix (an rv object with non-null dimension)
FUN a function to apply
... further arguments passed to FUN

Value

A random variable (an rv object).

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

  #

[Package rv version 0.949 Index]