Skip to contents

Materializes all lazy-evaluated observations into a single data matrix. Each observation is evaluated and the results are row-bound together.

Usage

# S3 method for class 'multiframe'
xdata(x, ...)

Arguments

x

A multiframe object

...

Additional arguments (not used)

Value

A matrix containing all materialized observations

Examples

X <- matrix(rnorm(20 * 5), 20, 5)
Y <- data.frame(condition = rep(c("A", "B"), each = 10))
mf <- multiframe(X, Y)
mat <- xdata(mf)  # Returns the full 20x5 matrix