Description Usage Arguments Details Value Examples
Function that collects weights for all different interaction scemes in a HLO-table. Each HLO-cell gets a "model assumption", which mapps the letter to an integer. Here weights for any combination of theese integers are assigned.
1 2 | create_weighting_list(H_same = 1, H_H = 0, H_O = 0, H_L = 0, O_H = 0,
O_O = 0, O_L = 0, L_H = 0, L_O = 0, L_L = 0, L_same = 0)
|
H_same |
weight, if both integers are equal and positive |
H_H |
weight, if both integers are positive, but different |
H_O |
weight, if if one integer is positive and one is 0 |
H_L |
weight, if if one integer is positive and one is negative |
O_H |
weight, if if one integer is positive and one is 0 |
O_O |
weight, if if both integers are 0 |
O_L |
weight, if if one integer is negative and one is zero |
L_H |
weight, if if one integer is positive and one is negative |
L_O |
weight, if if one integer is negative and one is zero |
L_L |
weight, if both integers are negative, but different |
L_same |
weight, if both integers are equal and negative |
For reasons of symmetry, the parameters should hold H_O = O_H, H_L = L_H and L_O = O_L
a list with the input parameters and class label "HLO_weighting", which can be used by function similarity_weights
1 | # see function MDRDist_weights in file similarity_weights_common.R
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.