carloscinelli / benford.analysis
Showing 1 of 1 files from the diff.

@@ -83,22 +83,36 @@
Loading
83 83
    if(!is.null(mfrow)){
84 84
      rows <- mfrow[1] 
85 85
      cols <- mfrow[2]
86 +
      par(mfrow = c(rows, cols))
86 87
    }else{
87 88
      if (nGraphics < 4) {
88 89
        rows <- 1; 
89 90
        cols <- nGraphics
91 +
        par(mfrow = c(rows, cols))
90 92
      }
91 -
      if (nGraphics >= 4 & nGraphics <= 6) {
93 +
      if (nGraphics == 4) {
94 +
        rows <- 2; 
95 +
        cols <- 2
96 +
        par(mfrow = c(rows, cols))
97 +
      }
98 +
      if (nGraphics == 5) {
99 +
        rows <- 2; 
100 +
        cols <- 3
101 +
        #layout(matrix(c(1,1,2,2,3,3,4,4,4,5,5,5), 2, 6, byrow = TRUE))
102 +
      }
103 +
      if (nGraphics == 6) {
92 104
        rows <- 2; 
93 105
        cols <- 3
106 +
        par(mfrow = c(rows, cols))
94 107
      }
95 108
      if (nGraphics > 6) {
96 109
        rows <- 3; 
97 110
        cols <- 3
111 +
        par(mfrow = c(rows, cols))
98 112
      }
99 113
    }
100 114
    
101 -
    par(mfrow = c(rows, cols))
115 +
    #par(mfrow = c(rows, cols))
102 116
    nslots <- rows*cols
103 117
    plot_this <- plots
104 118
    lg_size <- ifelse(rows > 1, 1, ifelse(err.bounds, 0.4, 0.7))/rows
Files Coverage
R 99.49%
Project Totals (4 files) 99.49%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading