ttmatrixFromQQ {dst} | R Documentation |
Construct a description matrix from qq function.
Description
Construct a description matrix from qq function.
Usage
ttmatrixFromQQ(qq, n, valuenames)
Arguments
qq |
Commonality function |
n |
Dimension of the frame |
valuenames |
Vector of valuenames |
Value
ttmat A corresponding logical description matrix
Author(s)
Peiyuan Zhu
Examples
tt<- t(matrix(c(1,0,1,1),ncol = 2))
m<- c(.9,.1)
cnames <- c("yes","no")
x<- bca(tt, m, cnames=cnames)
ttmatrixFromQQ(x$qq,as.integer(x$infovar[1,2]), unlist(x$valuenames))
[Package dst version 1.7.0 Index]