Skip to content

Commit

Permalink
Added more flexibility in the msqrobLM function for models with missi…
Browse files Browse the repository at this point in the history
…ng variables
  • Loading branch information
StijnVandenbulcke committed Oct 28, 2024
1 parent 6cf8990 commit c1fa7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/msqrob.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ msqrobLm <- function(y,
vcovUnscaled[names(mod$coef), names(mod$coef)] <- msqrob2:::.vcovUnscaled(mod)

model <- list(
coefficients = mod$coef,
coefficients = coef,
vcovUnscaled = .vcovUnscaled(mod),
sigma = sigma,
df.residual = df.residual,
Expand Down

0 comments on commit c1fa7a2

Please sign in to comment.