as_transform2d: Cast to 2D affine transformation matrix
Description
as_transform2d()
casts to a transform2d()
affine transformation matrix
Usage
as_transform2d(x, ...)# S3 method for transform2d
as_transform2d(x, ...)
# S3 method for default
as_transform2d(x, ...)
Value
A transform2d()
object
Arguments
- x
An object that can be cast to a
- ...
Further arguments passed to or from other methods
Examples
Run this codem <- diag(3L)
as_transform2d(m)
Run the code above in your browser using DataLab