Description Usage Arguments Value
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)
.
1 2 | ## S3 method for class 'unitted'
as.data.frame(x, ...)
|
x |
A unitted object |
... |
Other arguments passed to |
A unitted data.frame element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.