extFrame | R Documentation |
This function works on a basic chance assignment (bca) x
defined on a single variable. Iy= t Allows the addition of new values to the frame of discernment.
extFrame(x, use_ssnames = FALSE, lab = NULL)
x |
An object of bca class, i.e. a basic chance assignment defined on one variable |
use_ssnames |
Default= FALSE. Put TRUE if use of subset names is wanted. |
lab |
A character vector containing the names of the elements to add to the frame of discernment. |
zxtnd The bca with its frame extended
Claude Boivin
s1_e1 <- bca(tt = matrix(c(1,0,1,1),nrow = 2, byrow = TRUE),
m = c(0.6,0.4), cnames = c("S1","S2"), varnames = "v1", idvar = 1)
s13_names <- extFrame(s1_e1, lab = "S3", use_ssnames =TRUE)
s13 <- extFrame(s1_e1, lab = "S3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.