bcaPrint | R Documentation |
tt
matrix and mass values of a basic chance assignment (bca)This utility function does a simple printing of a bca
bcaPrint(x, remove = FALSE)
x |
A list of class bcaspec. |
remove |
Default = FALSE. Put = TRUE to exclude subsets with zero mass. |
A table of subsets with their associated mass. Subsets are identified by row names.
Claude Boivin
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)
y <- bca(tt=matrix(c(1,0,0,1,1,1),nrow = 2,
byrow = TRUE), m = c(0.6,0.4), include_all = TRUE,
cnames = c("a", "b", "c"),varnames = "y", idvar = 1)
bcaPrint(y)
bcaPrint(y, remove = TRUE)
x <- 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, method = "ezt-m")
bcaPrint(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.