rsp.pad | R Documentation |
Functions for padding respeciate
objects.
rsp_pad
pads a supplied respeciate profile data set
with profile and species meta-data.
rsp_pad(rsp, pad = "standard", drop.nas = TRUE)
rsp |
A |
pad |
character, type of meta data padding, current options
|
drop.nas |
logical, discard any rows where the |
rsp_pad
returns supplied respeciate
data set, with
requested additional profile and species meta-data added as additional
data.frame
columns. See Note.
Some data handling can remove respeciate meta-data,
and rsp_pad
s provide a quick rebuild/repair. For example,
rsp_dcast
ing to a (by-species or by-profile) widened
form strips some meta-data, and padding is used as part of the
rsp_melt_wide
to re-add this meta-data
when returning the data set to its standard long form.
rsp_pad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.