Coerce 3-vectors and 4-vectors to a matrix. A convenience wrapper for
unclass()
# S3 method for 3vel
as.matrix(x, ...)
# S3 method for 4vel
as.matrix(x, ...)
Object of class 3vel
or 4vel
Further arguments (currently ignored)
Robin K. S. Hankin
as.matrix(r3vel(5))
as.matrix(r4vel(5))
Run the code above in your browser using DataLab