powered by
Construct a description matrix from qq function.
ttmatrixFromQQ(qq, n, valuenames)
ttmat A corresponding logical description matrix
Commonality function
Dimension of the frame
Vector of valuenames
Peiyuan Zhu
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))
Run the code above in your browser using DataLab