add_unit: Add units information to data in R

Description Usage Arguments

View source: R/constructors.R

Description

This function will add units information to the dataset. Units should be short character descriptions of the unit of measure for data elements in the data set.

Usage

1
2
3
4
5
6
7
add_unit(object, unit)

## S3 method for class 'meta.data'
add_unit(object, unit)

## S3 method for class 'metaframe'
add_unit(object, unit)

Arguments

object

an object to append with meta.data about units of measurement

unit

a character vector or list for the units


jknowles/metaframe documentation built on May 19, 2019, 11:43 a.m.