Skip to content

crt2power call graph

Each node is a function, tinted by its test coverage so untested, complex code stands out. Shape encodes language, a ring marks exported functions, and dashed edges are calls from R into compiled code. Hover a node for detail; click to focus its neighborhood.

Loading call graph…

Coverage

60% lines

Expression 69.3%
Tests 60.1%
Examples 54.5%
Vignettes 0.0%

By file

R/run_crt2_design.R 7%
R/calc_pwr_conj_test.R 70%
R/calc_pwr_single_1dftest.R 79%
R/calc_pwr_comb_outcome.R 79%
R/calc_pwr_disj_2dftest.R 84%
R/calc_pwr_pval_adj.R 86%
R/calc_ncp_chi2.R 100%

Structure

Functions
17
Exported
17
Compiled
0
Call edges
30

Functions ranked by lowest coverage

Function Language Lines Cyclomatic Coverage
run_crt2_design exp R 441 33 7.2%
calc_pwr_conj_test exp R 257 26 64.8%
calc_m_disj_2dftest exp R 67 10 74.4%
calc_pwr_single_1dftest exp R 74 10 75.0%
calc_pwr_comb_outcome exp R 72 10 75.8%
calc_K_comb_outcome exp R 126 13 77.3%
calc_m_conj_test exp R 77 10 77.3%
calc_K_single_1dftest exp R 120 13 78.1%
calc_K_conj_test exp R 94 14 79.7%
calc_K_pval_adj exp R 158 13 81.8%
calc_m_single_1dftest exp R 114 12 82.8%
calc_m_comb_outcome exp R 108 12 84.3%
calc_K_disj_2dftest exp R 126 19 85.7%
calc_pwr_disj_2dftest exp R 106 16 88.1%
calc_m_pval_adj exp R 127 12 88.2%
calc_pwr_pval_adj exp R 106 10 89.1%
calc_ncp_chi2 exp R 19 2 100.0%