Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasKook committed Sep 25, 2023
1 parent ab0dcd1 commit 6561205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ residuals.binglm <- function(object, ...) {
### Test
r <- matrix(controls$residuals(m), ncol = 1)
e <- .rm_int(model.matrix(as.formula(env$fml), data = data))
if (controls$ctest == "gcm.test" & set != "1") # Fit RF for GCM-type test
if (controls$ctest == "gcm.test") # Fit RF for GCM-type test
e <- .ranger_gcm(e, c(meff, mand), set, data, controls)
}

Expand Down

0 comments on commit 6561205

Please sign in to comment.