Skip to content

Commit ea7bb29

Browse files
committed
Set maturity parameter bound to 1000 for large fish
1 parent 83a6a4c commit ea7bb29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/maturity.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,9 @@ extract_maturity_perc_re <- function(betas, random_intercepts, model) {
633633
out
634634
}
635635

636-
binomial_perc <- function(x, a, b, perc = 0.5, linkinv, ...) {
636+
binomial_perc <- function(a, b, perc = 0.5, linkinv, ...) {
637637
f <- function(x) linkinv(a + b * x) - perc
638-
uniroot(f, interval = c(-100, 100))$root
638+
uniroot(f, interval = c(-100, 1000))$root
639639
}
640640

641641
mat_par_delta_method <- function(model, perc = 0.5) {

0 commit comments

Comments
 (0)