as_transform3d: Cast to 3D affine transformation matrix

View source: R/affine-methods.r

as_transform3dR Documentation

Cast to 3D affine transformation matrix

Description

as_transform3d() casts to a transform3d() affine transformation matrix

Usage

as_transform3d(x, ...)

## S3 method for class 'transform3d'
as_transform3d(x, ...)

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

Arguments

x

An object that can be cast to a

...

Further arguments passed to or from other methods

Value

A transform3d() object

Examples

m <- diag(4L)
as_transform3d(m)

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