We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E.g:
MP_PPD = function(x, Data, reps=1, nyrs, outfile= NA){
lastyr = match(Data@LHYear, Data@Year) pyr = length(Data@Year) - lastyr
if(pyr > nyrs){
if(is.na(outfile)) outfile= paste0(getwd(), "/PPD.rda") saveRDS(Data, outfile) print(paste0("PPD written to ", outfile)) stop()
} # end of save PPD
FMSYref(x, Data, reps) # default advice
}
class(MP_PPD) = 'MP'
where the user can just adjust outfile and nyrs as they like
formals(MP_PPD)$nyrs = 10 formals(MP_PPD)$outfile = "C:/temp/MSEstuff/myPPD.rda"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
E.g:
MP_PPD = function(x, Data, reps=1, nyrs, outfile= NA){
lastyr = match(Data@LHYear, Data@Year)
pyr = length(Data@Year) - lastyr
if(pyr > nyrs){
} # end of save PPD
FMSYref(x, Data, reps) # default advice
}
class(MP_PPD) = 'MP'
where the user can just adjust outfile and nyrs as they like
formals(MP_PPD)$nyrs = 10
formals(MP_PPD)$outfile = "C:/temp/MSEstuff/myPPD.rda"
The text was updated successfully, but these errors were encountered: