Learn R Programming

affiner (version 0.1.3)

as_transform1d: Cast to 1D affine transformation matrix

Description

as_transform1d() casts to a transform1d() affine transformation matrix

Usage

as_transform1d(x, ...)

# S3 method for transform1d as_transform1d(x, ...)

# S3 method for default as_transform1d(x, ...)

Value

A transform1d() object

Arguments

x

An object that can be cast to a

...

Further arguments passed to or from other methods

Examples

Run this code
m <- diag(2L)
as_transform1d(m)

Run the code above in your browser using DataLab