Skip to contents

Strips the sim_W class and its diagnostic attributes, returning the bare \(q \times n_{var}\) covariable matrix for use with env_kernel, W_matrix consumers, or base matrix ops.

Usage

# S3 method for class 'sim_W'
as.matrix(x, ...)

Arguments

x

a sim_W object.

...

ignored.

Value

A numeric matrix (environments in rows, covariables in columns) with no sim_W class or attributes.

See also