Learn R Programming

dst (version 1.8.0)

bcaPrintLarge: Print summary statistics of large mass functions

Description

Print summary statistics of large mass functions

Usage

bcaPrintLarge(
  x,
  info_list = "all",
  num_top_mass = 10,
  cut_width_size = 10,
  cut_width_m = 1e-05
)

Value

  • table of basic and more comprehensive statistics of subsets

  • table of basic and more comprehensive statistics of masses

  • table of basic and more comprehensive statistics of masses vs subsets

Arguments

x

A basic chance assignment (see bca).

info_list

="all" statistics to be printed in a vector of characters

  • "all": everything

  • "basic_subset_stat": basic statistics of subsets

  • "comp_subset_stat": more comprehensive statistics of subsets

  • "basic_mass_stat": basic statistics of masses

  • "comp_mass_stat": more comprehensive statistics of masses

  • "basic_joint_stat": basic statistics of masses vs subsets

  • "comp_joint_stat": more comprehensive statistics of masses vs subsets

num_top_mass

= 10 number of top masses to be printed

cut_width_size

width of a cut among subset sizes

cut_width_m

width of a cut among masses

Author

Peiyuan Zhu

Examples

Run this code
 if (requireNamespace("tidyverse", quietly = TRUE) ) { 
 ## library(tidyverse)
x <- bca(tt = matrix(c(1,1,0,1,1,1), nrow = 2, byrow = TRUE), m = c(0.8, 0.2), cnames = c(1,2,3))
bcaPrintLarge(x)
}

Run the code above in your browser using DataLab