conProf | R Documentation |
Compare different lags in a contingency profile
conProf(data, maxlag, conFun)
data |
Binary time-points-by-variable matrix |
maxlag |
Positive integer indicating how many lags should be investigated |
conFun |
Contingency measure function (calculating the contingency value between two binary vectors). Built in: funPropAgree, funClassJacc, funKappa, funCorrJacc, funOdds, funLogOdds, funPhiCC |
A conProf-object consisting of
value
Contingency matrices for different lags
para
Parameters including maxlag
, funName
and varNames
IntData <- cbind(rep(rep(c(0,0,1,0,1,0,1,0,0,0),each=5),times=5), rep(rep(c(1,0,0,0), each=10), times=25)) colnames(IntData) <- c('Var1','Var2') conProf(IntData,maxlag=10,conFun=funClassJacc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.