Description Usage Arguments Details Value Examples
This is an internal function. Many actions in R will strip attributes from data frames. This helper function replaces those attributes.
1 | .PreserveAttributes(df, att)
|
df |
A data frame that may have had its attributes removed. |
att |
A list containing the attributes from the data frame before the
attributes were stripped. This character vector should be created by
calling |
This function throws an error if the list passed via the att argument does not contain elements named local_test_data, time_downloaded, or last_modified.
A data frame with the attributes local_test_data, time_downloaded, and last_modified.
1 | new.df <- .PreserveAttributes(old.df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.