summarize bronze-standard data
Arguments
- BrS_dat
bronze-standard data, which is usually
data_nplcm$Mobs$MBS[[1]]
- Y
A vector of case/control status: 1 for case; 0 for control
See also
Other exploratory data analysis functions:
get_top_pattern()
,
plot_logORmat()
,
show_individual()
,
summarize_SS()
,
visualize_season()
Examples
data(data_nplcm_noreg)
summarize_BrS(data_nplcm_noreg$Mobs$MBS[[1]], data_nplcm_noreg$Y)
#> $Nd
#> [1] 300
#>
#> $Nu
#> [1] 300
#>
#> $MBS_mean
#> [,1] [,2] [,3] [,4] [,5] [,6]
#> case 0.60 0.31333 0.37000 0.16333 0.11667 0.13667
#> control 0.21 0.21667 0.23667 0.12000 0.13333 0.13000
#>
#> $MBS_q1
#> [,1] [,2] [,3] [,4] [,5] [,6]
#> case 0.5436223 0.2634318 0.3173072 0.12559292 0.08477613 0.10209823
#> control 0.1675776 0.1736517 0.1919746 0.08764294 0.09919185 0.09629289
#>
#> $MBS_q2
#> [,1] [,2] [,3] [,4] [,5] [,6]
#> case 0.6538491 0.367955 0.4259800 0.2095867 0.1582502 0.1804223
#> control 0.2597553 0.266846 0.2880173 0.1619657 0.1767463 0.1730629
#>
#> $MBS_nm
#> [1] "A" "B" "C" "D" "E" "F"
#>