Compute weighted cosine distance

quick_w_cosine(M, w)

Arguments

M

the binary matrix, Each row is a cell, each column is a variant, generated by Make_matrix

w

weight for each variant, a vector

Value

dist object