Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.matrix

Coerce 3-vectors and 4-vectors to a matrix


Description

Coerce 3-vectors and 4-vectors to a matrix. A convenience wrapper for unclass()

Usage

## S3 method for class '3vel'
as.matrix(x, ...)
## S3 method for class '4vel'
as.matrix(x, ...)

Arguments

x

Object of class 3vel or 4vel

...

Further arguments (currently ignored)

Author(s)

Robin K. S. Hankin

Examples

as.matrix(r3vel(5))
as.matrix(r4vel(5))

lorentz

The Lorentz Transform in Relativistic Physics

v1.0-5
GPL-3
Authors
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.