Learn R Programming

dst (version 1.8.0)

mFromQQRecursive: Construct a mass vector from qq function and ttmatrix of focal elements recursively.

Description

Construct a mass vector from qq function and ttmatrix of focal elements recursively.

Usage

mFromQQRecursive(qq, n)

Value

m A corresponding mass vector

Arguments

qq

Commonality function

n

Frame dimension

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