Skip to contents

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

Usage

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

Arguments

x

an R object.

...

additional arguments to be passed to or from methods.

Examples

as.matrix(set_errors(1:3, 0.1))
#> Errors: 0.1 0.1 0.1
#>      [,1]
#> [1,]    1
#> [2,]    2
#> [3,]    3