units: Units attribute.

Description Usage Arguments Functions Examples

Description

Units attribute.

Usage

1
2
3
4
5
units(x)

units(x) <- value

has.units(x)

Arguments

x

An object.

value

A character specifying the units

Functions

Examples

1
2
3
4
x <- 1:10
units(x) <- "cm"
has.units(x)
units(x)

table1 documentation built on June 7, 2021, 1:07 a.m.