Learn R Programming

errors (version 0.4.2)

as.matrix.errors: Coerce to a Matrix

Description

S3 method for errors objects (see as.matrix).

Usage

# S3 method for errors
as.matrix(x, ...)

Arguments

x

an R object.

...

additional arguments to be passed to or from methods.

Examples

Run this code
as.matrix(set_errors(1:3, 0.1))

Run the code above in your browser using DataLab