setLevels_cpp | R Documentation |
Define hierarchy levels over which record needs to be swapped according to risk variables.
NOTE: This is an internal function used for testing the C++-function setLevels()
which is applied inside recordSwap()
.
setLevels_cpp(risk, risk_threshold)
risk |
vector of vectors containing risks of each individual in each hierarchy level. |
risk_threshold |
double defining the risk threshold beyond which a record/household needs to be swapped. This is understood as risk>=risk_threshhold. |
Integer vector with hierarchy level over which record needs to be swapped with.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.