View source: R/ReversedRequiredFormat.R
ReversedRequiredFormat | R Documentation |
ReversedRequiredFormat
ReversedRequiredFormat(
Data,
input,
x = NULL,
ThisIsShinyApp = FALSE,
Untidy = FALSE
)
Data |
Standardized data, returned from |
input |
A named list, typically the output of function RequiredFormat_interactive, also called site profile with information on column names correspondence, size units etc... Chosen to be the output profile the user wants their data turned into |
x |
For internal use when function used by Shiny app |
ThisIsShinyApp |
For internal use when function used by Shiny app (logical) |
Untidy |
(logical). If TRUE and input$tidy exists, the data will be untidy (changed from long to wide format, according to input information) |
This function takes the standardized forest inventory data.table
(returned by RequiredFormat()
) and converts the column names to the names
of the profile given as input.
(data.frame) in the format given the profile selected in input.
## Not run:
data(ParacouSubsetFormated)
data("ForestGeoProfile")
ReversedRequiredFormat(ParacouSubsetFormated, ForestGeoProfile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.