Description Usage Arguments Details Value Author(s) References See Also
deranged
generates the records implied by the range stored as start
and stop
.
1 2 3 4 |
x |
dispatch argument |
start |
name of column with |
stop |
name of column with |
result |
name of column in which to place the result |
dropStop |
whether to drop the |
... |
extra arguments, usually ignored; see details |
deranged.data.frame
. When a dataset attribute (column) is constant over
some range of another discreet attribute, information may be stored more
compactly by specifying the constant attribute once, together with the start
and stop of the range. This function takes such a dataset and instantiates
all implied records. Warning: the function calls
seq(start,stop)
for each row, and makes no assumptions about whether the data
is ascending, descending, stationary (start==stop
), or undefined
(one or more of start
and stop
is NA
). deranged.keyed
is just a wrapper that
preserves attributes.
deranged
returns keyed data.frame.
Tim Bergsma
http://metrumrg.googlecode.com
as.nm
Ops.keyed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.