Learn R Programming

units (version 1.0-0)

matrixOps.units: S3 matrixOps Group Generic Functions for units objects

Description

matrixOps functions for units objects.

Usage

# S3 method for units
matrixOps(x, y)

Value

object of class units

Arguments

x

object of class units, or something that can be coerced to it by as_units(x)

y

object of class units, or something that can be coerced to it by as_units(y)

Examples

Run this code
a = set_units(1:5, m)
a %*% a
a %*% t(a)
a %*% 1:5
1:5 %*% a

Run the code above in your browser using DataLab