Skip to content

Commit

Permalink
Merge pull request #85 from HugoNjb/FindBestModel
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Aug 28, 2018
2 parents 42da950 + 08c020c commit 053e8d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/find_best_model.lmerModLmerTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ find_best_model.lmerModLmerTest <- function(fit, interaction=TRUE, fixed=NULL, .


# Recreating the dataset without NA
dataComplete <- get_all_vars(fit)[complete.cases(get_all_vars(fit)), ]
dataComplete <- fit@frame[complete.cases(fit@frame), ]


# fit models
Expand Down Expand Up @@ -79,4 +79,4 @@ find_best_model.lmerModLmerTest <- function(fit, interaction=TRUE, fixed=NULL, .

best <- list(formula = best, by_criterion = by_criterion, table = comparison)
return(best)
}
}

0 comments on commit 053e8d5

Please sign in to comment.