conMx: Calculate contingency measure values of a (lagged) time series matrix
Description
Calculate contingency measure values of a (lagged) time series matrix
Usage
conMx(data, data2 = NULL, lag = 0, conFun)
Arguments
data
Binary time-points-by-variable matrix
data2
Second binary time-points-by-variable matrix (optional)
lag
Non-negative integer indicating how many time points the second variable is lagged (default 0)
conFun
Contingency measure function (calculating the contingency value between two binary vectors).
Built in: funPropAgree, funClassJacc, funKappa, funCorrJacc, funOdds, funLogOdds, funPhiCC
Value
list with two elements:
value Matrix of pairwise calculated contingency measures