as.data.frame.unitted: Construct a unitted element of a data.frame

Description Usage Arguments Value

Description

data.frames are constructed by applying as.data.frame() to each element. Thus, as.data.frame.unitted() is called whenever an argument to data.frame() is unitted. as.data.frame.unitted() can handle inputs of any subclass of unitted. Data.frame elements constructed with as.data.frame.unitted continue to store their units as members of the complete data.frame, although those units may not be visible until/unless the data.frame is itself made unitted by a call to u(mydf).

Usage

1
2
## S3 method for class 'unitted'
as.data.frame(x, ...)

Arguments

x

A unitted object

...

Other arguments passed to as.data.frame()

Value

A unitted data.frame element


appling/unitted documentation built on May 10, 2019, 12:44 p.m.