Description Usage Arguments Value
This function computes consumption per caput for sugar. It is simply the ratio of total consumption over total population, and so the calculation is element 171 divided by population 11.
1 | calculateEle174(population11Num, data, aupusParam)
|
population11Num |
The column corresponds to element 11 of the population. |
data |
The AUPUS node dataset, typically as produced by buildNodes. |
aupusParam |
A list of running parameters to be used in pulling the data. Typically, this is generated from getAupusParameter (see that function for a description of the required elements). |
This function returns an integer vector containing the row numbers of observations which were updated. However, it also has a side effect: rows within the passed data.table ("data") have element 174's value and symbol updated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.