dataframe | R Documentation |
Coerce a data frame to a frab
df_to_frab(from)
## S4 method for signature 'data.frame'
as.frab(x)
x , from |
Frab objects |
Coerces a data frame, with columns key
and value
, to the
appropriate frab object. Repeated key
s are summed.
Returns a frab object or a dataframe.
Robin K. S. Hankin
as.frab(data.frame(key=letters[1:5],value=1:5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.