Calculate the Wang similarity for specific terms
rs_onto_sim_wang.RdThis function calculates the Wang similarities between all permutations of a given set of terms.
Arguments
- terms
String vector. The terms you wish to calculate the similarities for.
- parents
String vector. The names of the parents.
- children
String vector. The names of the childs. The length of
parentsneeds to be equal tochildren.- w
Numerics. The weights between the parents and children. Need to be values between 0 and 1.