Skip to content

Commit 714f06c

Browse files
committed
cleanup get_rf
1 parent 3a78922 commit 714f06c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

R/03_get_rf.R

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ get_rf <- function(E_in, S0, S1plus, nages, AgeMat, z, A, P0, N0) {
3434
if(AgeMat > nages){warning("Age at maturity cannot be larger than plus group age. Change AgeMat or nages.")}
3535
if(S0 < 0 | S0 >= 1){stop("Calf/pup survival must be between 0 and 1.")}
3636
if(S1plus < 0 | S1plus >= 1){stop("Adult survival must be between 0 and 1.")}
37-
#if(E_in < 0 | E_in > 1){stop("Check E_in; bycatch mortality must be between 0 and 1.")}
3837

3938
NprOut <- npr(S0 = S0, S1plus = S1plus, nages = nages, AgeMat = AgeMat, E = E_in)
4039
NE <- NprOut$npr

0 commit comments

Comments
 (0)