compare: Function for internal use only ...

Description Usage Arguments Value Author(s) See Also

View source: R/mdr.r

Description

This function is for internal use only; it counts the number of matches of an individual data vector with the rows of a target matrix, and is called by the function mdr

Usage

1
compare(mat, vec, k)

Arguments

mat

target matrix

vec

vector to be matched

k

length of vector

Value

scalar, the total number of matches

Author(s)

Stacey Winham

See Also

mdr, mdr.cv, mdr.3WS


MDR documentation built on May 29, 2017, 7:05 p.m.