diff --git a/R/methods_brglm2.R b/R/methods_brglm2.R index 36d2d9935..b1d25e07b 100644 --- a/R/methods_brglm2.R +++ b/R/methods_brglm2.R @@ -179,7 +179,7 @@ standard_error.multinom <- function(model, ...) { stderr <- as.vector(sqrt(diag(vc))) } else { if (is.matrix(stderr)) { - tmp <- c() + tmp <- NULL for (i in seq_len(nrow(stderr))) { tmp <- c(tmp, as.vector(stderr[i, ])) }