Learn R Programming

dst (version 1.8.0)

mFromQQ: Construct a mass vector from qq function.

Description

Construct a mass vector from qq function.

Usage

mFromQQ(qq, tt)

Value

m A corresponding mass vector

Arguments

qq

Commonality function

tt

logical description matrix from ttmatrixFromQQ

Author

Peiyuan Zhu

Examples

Run this code
tt<- t(matrix(c(1,0,1,1),ncol = 2))
m<- c(.9,.1)
cnames <- c("yes","no")
x<- bca(tt, m, cnames=cnames)
mFromQQ(x$qq, x$tt)

Run the code above in your browser using DataLab