Skip to content

Commit

Permalink
Revert back
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMostert committed Aug 12, 2024
1 parent 0dc6625 commit 065e95e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/blockedCV.R
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ blockedCV <- function(data, options = list(),
#if (testLike[[pd]]$family == 'cp') {

# nIPS <- nrow(data$.__enclos_env__$private$IPS)
testLike[[pd]]$inla.family <- 'gaussian'
# testLike[[pd]]$data$olikhoodvar <- c(testPredicts$mean, rep(0, nIPS))

#} else
Expand All @@ -359,7 +358,6 @@ blockedCV <- function(data, options = list(),
foldOptions$control.family <- foldOptions$control.family[sourcePred]

optionsTest <- append(options, foldOptions)
optionsTest$control.family[[1]]$link <- 'default'
compsIntercepts <- paste0('testIntercept', 1:length(testData[[1]]),'(1)')
compPreds <- formula(paste0('~ - 1 + olikhoodvar(main = olikhoodvar, model = "offset") + ', paste0(compsIntercepts, collapse = ' + ')))

Expand Down

0 comments on commit 065e95e

Please sign in to comment.