lebebr01 / simglm
Showing 2 of 3 files from the diff.
Other files ignored by Codecov
DESCRIPTION has changed.

@@ -53,7 +53,6 @@
Loading
53 53
      }
54 54
    }
55 55
    total_level2_samplesize <- sum(level2)
56 -
    sample_size['level2'] <- list(level2)
57 56
    
58 57
    if(1 %in% min_max_loc) {
59 58
      level1 <- runif(n = total_level2_samplesize,
@@ -68,6 +67,7 @@
Loading
68 67
      }
69 68
    }
70 69
    sample_size['level1'] <- list(level1)
70 +
    sample_size['level2'] <- list(level2)
71 71
    
72 72
    if(length(sample_size) == 3) {
73 73
      sample_size['level3_total'] <- list(sample_size_level3(sample_size)) 

@@ -284,7 +284,12 @@
Loading
284 284
    Xmat <- dplyr::bind_cols(Xmat, Omat)
285 285
  } else {
286 286
    Xmat <- data.frame(model.matrix(fixed_formula, Xmat, ...))
287 -
    colnames(Xmat)[2:ncol(Xmat)] <- fixed_vars
287 +
    
288 +
    if(grepl("^0", as.character(fixed_formula)[2])) {
289 +
      colnames(Xmat)[1:ncol(Xmat)] <- fixed_vars
290 +
    } else {
291 +
      colnames(Xmat)[2:ncol(Xmat)] <- fixed_vars
292 +
    }
288 293
  }
289 294
  
290 295
  if(is.null(data)) {
Files Coverage
R 75.21%
Project Totals (14 files) 75.21%

No yaml found.

Create your codecov.yml to customize your Codecov experience

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