max_u: Wilcox test of bullet to bullet similarity

max_uR Documentation

Wilcox test of bullet to bullet similarity

Description

The combination of land1 and land2 are a key to the scores, i.e. if a bullet has six lands, each of the input vectors should have length 36.

Usage

max_u(land1, land2, scores, addNA = FALSE)

Arguments

land1

(numeric) vector with land ids of bullet 1

land2

(numeric) vector with land ids of bullet 2

scores

numeric vector of scores to be summarized into a single number

addNA

how are missing values treated? addNA = TRUE leaves missing values, addNA=FALSE imputes with 0.

Value

numeric vector of binary prediction whether two lands are same-source. Vector has the same length as the input vectors.


heike/bulletxtrctr documentation built on March 8, 2024, 7:41 p.m.