Skip to content

Commit

Permalink
object to model
Browse files Browse the repository at this point in the history
  • Loading branch information
helske committed Jan 18, 2025
1 parent 556ca03 commit ac0a014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_probs.R
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ get_probs.nhmm <- function(model, probs, newdata = NULL, remove_voids = TRUE, ..
!is.null(newdata[[time]]),
"Can't find time index variable {.var {time}} in {.arg newdata}."
)
object <- update(object, newdata = newdata)
object <- update(model, newdata = newdata)
}
S <- model$n_states
M <- model$n_symbols
Expand Down

0 comments on commit ac0a014

Please sign in to comment.