Description Usage Arguments Value
Print SUA Table
1 2 | printSUATable(data, standParams, printCodes, printProcessing = TRUE,
nutrientElements = c())
|
data |
The data.table containing the full dataset for standardization. |
standParams |
The parameters for standardization. These parameters provide information about the columns of data and tree, specifying (for example) which columns should be standardized, which columns represent parents/children, etc. |
printCodes |
A character vector of the elements of interest. This is required to keep the table from getting to big/unreadable. |
printProcessing |
Logical. Should food processing also be printed? |
nutrientElements |
A list of the nutrient codes which should also be printed. |
Nothing is returned, but a table is returned in a nice format to show the current SUA data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.