bcaPrintLarge: Print summary statistics of large mass functions

View source: R/bcaPrintLarge.R

bcaPrintLargeR Documentation

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
)

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

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

Author(s)

Peiyuan Zhu

Examples

 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)
}

RAPLER/dst-1 documentation built on Oct. 15, 2024, 9:24 p.m.