Skip to content

Commit

Permalink
code misspelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmork authored Aug 30, 2021
1 parent 8b270c7 commit a81fff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dlmtree.R
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ dlmtree <- function(formula,
if (model$intercept) {
model$gamma[,1] <- model$gamma[,1] + model$Ymean
if (ncol(model$Z) > 1)
model$gmama[,1] <- model$gamma[,1] - model$gamma[,-1] %*% model$Zmean[-1]
model$gamma[,1] <- model$gamma[,1] - model$gamma[,-1] %*% model$Zmean[-1]
}
colnames(model$gamma) <- model$Znames

Expand Down

0 comments on commit a81fff2

Please sign in to comment.