Skip to content

Commit 9dfee36

Browse files
refactor: bind columns
1 parent f64ec99 commit 9dfee36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/ols-model-performance.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ ols_compare_model_performance.lm <- function(...) {
104104
sigma[i] = summary(models[[i]])$sigma
105105
}
106106

107-
result <- cbind(model_names, result)
108-
result <- cbind(result, sigma)
107+
result <- cbind(cbind(model_names, result), sigma)
109108

110109
col_names <- c("name", "r2", "r2_adj", "r2_pred", "aic", "sbc", "sbic",
111110
"rmse", "sigma")

0 commit comments

Comments
 (0)