Learn R Programming

dst (version 1.8.0)

bcaPrint: Simple printing of the tt matrix and mass values of a basic chance assignment (bca)

Description

This utility function does a simple printing of a bca

Usage

bcaPrint(x)

Value

A table of subsets with their associated mass. Subsets are identified by row names.

Arguments

x

A list of class bcaspec.

Author

Claude Boivin

Examples

Run this code
z <- bca(tt = matrix(c(0,1,1,1,1,0,1,1,1),nrow = 3, 
byrow = TRUE), m = c(0.2,0.5, 0.3), 
cnames = c("a", "b", "c"), idvar = 1)
bcaPrint(z)

Run the code above in your browser using DataLab