Description Usage Arguments Value
editPriority
computes the priority for each unit in the
input data set data
. The corresponding model is applied to each unit,
depending on the value of the regressand. The empirical distribution is used
for every single value of the regressand, in order to assign a correct
priority to units.
1 2 3 4 5 6 7 8 9 10 | editPriority(
models,
data,
formula,
targetVar,
regressors,
designWeight,
id.vars,
suffix = "_ed"
)
|
models |
A data.table with four colums named with the LHS
variable of |
data |
data frame, list or environment (or object coercible by
|
formula |
an object of class |
targetVar |
name of the regressand (an object of class character). |
regressors |
an object of class character containing the names of regressors. |
designWeight |
an object of class character containing the design weight. |
id.vars |
names of the identification variables for each unit in the
input data set |
suffix |
parameter for the name of the edited version of the variable under analysis. |
A data.table containing the following variables: id.vars, regressand, regressors, design weight, P01, moments, regressors and the priority to be analyzed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.