create_weighting_list: Describing weights for similarity relation between different...

Description Usage Arguments Details Value Examples

Description

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.

Usage

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)

Arguments

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

Details

For reasons of symmetry, the parameters should hold H_O = O_H, H_L = L_H and L_O = O_L

Value

a list with the input parameters and class label "HLO_weighting", which can be used by function similarity_weights

Examples

1
# see function MDRDist_weights in file similarity_weights_common.R

imbs-hl/MDRDist documentation built on May 18, 2019, 4:45 a.m.