calculateEle111: Calculate Element 111 (Use for Same Product)

Description Usage Arguments Details Value

Description

This function imputes element 111, which can be thought of as the amount used for seeding. The rules are as follows:

Usage

1
calculateEle111(stotal, data, aupusParam)

Arguments

stotal

The column name of data corresponding to the total supply.

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).

Details

Value

This function returns a list (of length 2) of integer vectors containing the row numbers of observations which were updated (the first vector when a value was computed using ratio 111, the second for when ratio 171 was used). However, it also has a side effect: rows within the passed data.table ("data") have element 111's value and symbol updated.


SWS-Methodology/faoswsAupus documentation built on May 9, 2019, 11:45 a.m.