Skip to content

Commit

Permalink
only show gengamma_Q if gengamma model
Browse files Browse the repository at this point in the history
  • Loading branch information
Jillian Dunic committed Feb 13, 2024
1 parent 210b69b commit b6dbe00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/print.R
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ print_other_parameters <- function(x, m = 1L) {

phi <- get_term_text("phi", "Dispersion parameter")
tweedie_p <- get_term_text("tweedie_p", "Tweedie p")
gengamma_par <- get_term_text("gengamma_Q", "Generalized gamma lambda")
gengamma_par <- if ('gengamma' %in% family(x)[[m]]) {
get_term_text("gengamma_Q", "Generalized gamma lambda")
} else ""
sigma_O <- get_term_text("sigma_O", "Spatial SD")
xtra <- if (x$spatiotemporal[m] == "ar1") "marginal " else ""
sigma_E <- get_term_text("sigma_E",
Expand Down

0 comments on commit b6dbe00

Please sign in to comment.