Skip to content

Commit

Permalink
code read through
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Nov 27, 2024
1 parent 5beebde commit bafa1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/latent_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ epidist_family_model.epidist_latent_model <- function(
# Really the name and vars are the "model-specific" parts here
custom_family <- brms::custom_family(
paste0("latent_", family$family),
dpars = c(family$dpar),
dpars = family$dpars,
links = c(family$link, family$other_links),
lb = c(NA, as.numeric(lapply(family$other_bounds, "[[", "lb"))),
ub = c(NA, as.numeric(lapply(family$other_bounds, "[[", "ub"))),
Expand Down

0 comments on commit bafa1cf

Please sign in to comment.