as_transform1d: Cast to 1D affine transformation matrix

View source: R/affine-methods.r

as_transform1dR Documentation

Cast to 1D affine transformation matrix

Description

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

Usage

as_transform1d(x, ...)

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

## Default S3 method:
as_transform1d(x, ...)

Arguments

x

An object that can be cast to a

...

Further arguments passed to or from other methods

Value

A transform1d() object

Examples

m <- diag(2L)
as_transform1d(m)

affiner documentation built on April 4, 2025, 4:42 a.m.