Package: FLRef 1.14

Henning Winker

FLRef: Reference point computation for advice rules

Blah

Authors:Henning Winker [aut, cre]

FLRef_1.14.tar.gz
FLRef_1.14.zip(r-4.7-any)FLRef_1.14.zip(r-4.6-any)FLRef_1.14.zip(r-4.5-any)
FLRef_1.14.tgz(r-4.6-any)FLRef_1.11.13.tgz(r-4.5-any)
FLRef_1.14.tar.gz(r-4.7-any)FLRef_1.14.tar.gz(r-4.6-any)
FLRef_1.14.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
FLRef/json (API)

# Install 'FLRef' in R:
install.packages('FLRef', repos = c('https://ices-tools-prod.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/henning-winker/flref/issues

On CRAN:

Conda:

3.86 score 3 stars 40 scripts 111 exports 47 dependencies

Last updated from:247f61c3cf. Checks:6 ERROR, 2 OK, 1 FAIL. Indexed: no.

TargetResultTimeFilesSyslog
linux-develERROR185
source / vignettesOK188
linux-releaseERROR303
macos-releaseERROR297
macos-oldrelFAIL119
windows-develERROR163
windows-releaseERROR258
windows-oldrelERROR285
wasm-releaseOK96

Exports:ABItgtALKalk.sampleALKsapplyALKapplyARasem2spmbioidx.simbisectblagbuild_gearca.simcatch_by_gearcatch_gearcatch_n_gearcombine_sel_agecomputeFbrpcomputeFbrpscondition_alkf_age_gearf_share_gearFbrpFe40flr2starsFmmyFp05FsimFsim_gridfudcfwd2icesfwd2starsfwd2type1fwdF4Bgear_ialkgear_pargetFiALKidx.simjabba2FLStockRjabba2starsjoint_sellen_gridlen.simlfd_soplfd.simlfd.sim.seasonmerge_catchMlorenzennewselexopt.bisectpe_samplerpgquantplot_condALKplot_condALK_biasplot_lfd_ridgelineplot_lfd_seasonplot_peplot_pfplot_sel_a_seasonalplot_sel_ageplot_sel_laplotAdviceplotARplotbioageplotbioyrplotdynploteqplotFsimplotGFCMplotMajuroplotsprplotWKREFpop_n_seasonrc4ref.bisectrffwdrGclassrmultinom_crnrUnif_lenrUnif_lfdsam2FLQuantsam2FLStockRsam2starssample_proc_devsampling.lfd.oemschaefer.simseasonalize_catch_n_gearsel_a_seasonal_avgsel_dnormal_lensel_lasel_logistic_lensel_normal_lensopsspict2FLQuantspict2FLStockRspict2starsspr2depletionss2FLStockRss2icesss2starsss3colss3devsss3vcvssmvlnstock2ratiosstock2spmstockMediansupdsrupdstarsvbbrpwt_a_seasonal

Dependencies:clicodetoolscowplotcpp11data.tabledigestdoFuturefarverFLasherFLBRPFLCoreFLFisheryFLSRTMBforeachfuturefuture.applyggplot2ggplotFLggrepelglobalsgluegridExtragtableisobanditeratorslabelinglatticelifecyclelistenvMASSMatrixmsemvtnormparallellypatchworkprogressrR6RColorBrewerRcppRcppEigenrlangS7scalesTMBvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
ABItgt() Computes ABI for target F, e.g. ABImsy (Griffith et al. 2023)ABItgt
Convert an inverse age-length key to an age-length keyALK
Sample annual age-length keys by length classalk.sample
Construct annual age-length keysALKs
Convert length frequencies to numbers-at-ageapplyALK
applyAR() Function to apply ICES Advice rule for F < MSY BtriggerapplyAR
asem2spm()asem2spm
generates FLIndexBiomass with random observation error from an FLStockbioidx.sim
Bisection search for a forecast target matching a performance statisticbisect
blag()blag
Build gear selectivity, F-partition and sampling configurationsbuild_gear
Generate catch.n with lognormal annual and multinomial age composition observation errorca.sim
Relative catch by gear (fiticc() `catch_by_gear` input)catch_by_gear
Catch by gear and yearcatch_gear
Partial (Baranov) catch-at-age by gearcatch_n_gear
Combine gear-specific selectivity-at-age using relative apical Fcombine_sel_age
computeFbrp() Computes biological reference points corresponding to the proxy FbrpcomputeFbrp
computeFbrps() Computes biological reference points corresponding to the proxy FbrpcomputeFbrps
Fold length selectivity into an inverse ALKcondition_alk
Gear-specific fishing mortality-at-age from gear Fbar trajectoriesf_age_gear
Time-varying share of total F-at-age by gearf_share_gear
Fbrp() Extract Fbrp based reference points from output of computeFbrpFbrp
Fe40() Patterson estimator for FmsyFe40
flr2stars()flr2stars
Fmmy() Uses opt.bisect to derive the F at Maximum Median Yield from stochastic simulationsFmmy
Calculates the Fbar value giving a maximum probability of ssb being below Blim of 5 percentFp05
Fsim() Simulates stochastic stock dynamics under under constant FbrpFsim
Stochastic forward projections over an F gridFsim_grid
generates an up-down-constant F-patternfudc
Function to summarise forecast resultsfwd2ices
Function to summarise forecast resultsfwd2stars
Function to summarise Type 1 GFCM fishing opportunitiesfwd2type1
fwdF4B () Bisection Function to search F for a given biomassfwdF4B
Biological inverse ALK on a gear's own length gridgear_ialk
Extract a scalar gear entry across all gearsgear_par
getF()getF
huecolhuecol
Construct an inverse age-length keyiALK
generates FLIndex with lognormal annual and multinomial age composition observation erroridx.sim
jabba2FLStockR()jabba2FLStockR
jabba2stars()jabba2stars
Joint (fleet-aggregated) selectivity-at-agejoint_sel
Length grid shared by iALK(), build_gear() and all downstream helperslen_grid
Simulate length-frequency samples from numbers-at-agelen.sim
Raise a length-frequency sample to catch weight (sum of products)lfd_sop
Simulate a two-stage gear-specific length-frequency samplelfd.sim
Simulate seasonal length-frequency sampleslfd.sim.season
Merge catch into landings and remove discardsmerge_catch
MlorenzenMlorenzen
generates flexible 5-paramater selex curvesnewselex
Bisection approach to optimise x for maximising yopt.bisect
Summarise biomass process error over an F gridpe_sampler
sets plus group on FLQuantpgquant
Heatmap of a gear's conditional inverse ALKplot_condALK
Raw vs. gear-conditioned mean length-at-ageplot_condALK_bias
Plot length-frequency distributions as temporal ridgelinesplot_lfd_ridgeline
Plot seasonal length-frequency distributionsplot_lfd_season
Plot biomass process error against B/Bmsyplot_pe
plot_pf()plot_pf
Compare single-timing and seasonal selectivity-at-ageplot_sel_a_seasonal
Plot selectivity-at-ageplot_sel_age
Plot selectivity at length and ageplot_sel_la
plotAdvice Plots stochastic stock dynamics against refpts for constant Fsim()plotAdvice
plotAR Plots the new proposed ICES advice ruleplotAR
plotbioage() Plots stock N_a, W_a, M_a and Mat_a by yearplotbioage
plotbioyr() Plots stock N_a, W_a, M_a and Mat_a across yearsplotbioyr
plotGFCM()plotCECAF
plotdyn() Plots stock trajectories at ageplotdyn
ploteq() Modification of method plot(`FLBRP`) to plot equilibrium output of computeFbrp()ploteq
plotFsim Plots stochastic stock dynamics against refpts for constant Fsim()plotFsim
plotGFCM()plotGFCM
Plots the new proposed ICES advice ruleplotMajuro
plotspr() Plots current vs unfished spawning biomass per recruit at ageplotspr
plotWKREF Plots the newploiomass target corresponding to FbrpplotWKREF
Calculate population numbers-at-age by seasonpop_n_season
r4sscolrc4
Bisection approach to find target F for B (sex-structured)ref.bisect
rffwd() Project forward an FLStock with evolutionary Fbarrffwd
Function to characterize Productivity and refpts based on r and GenerationrGclass
Draw a multinomial sample using pre-generated uniform deviates (CRN-safe)rmultinom_crn
Generate common random numbers for length samplingrUnif_len
Generate common random numbers for two-stage length samplingrUnif_lfd
sam2FLQuant()sam2FLQuant
sam2FLStockR()sam2FLStockR
sam2stars()sam2stars
Sample SPM-equivalent biomass process deviations from one projectionsample_proc_dev
Length-frequency sampling observation error modelsampling.lfd.oem
schaefer.sim()schaefer.sim
Disaggregate gear catch-at-age by seasonseasonalize_catch_n_gear
Calculate seasonally averaged selectivity-at-agesel_a_seasonal_avg
Double-normal selectivity at lengthsel_dnormal_len
Construct selectivity-at-length and selectivity-at-agesel_la
Logistic selectivity at lengthsel_logistic_len
Normal dome-shaped selectivity at lengthsel_normal_len
scales catch-at-age to total catch with error (optional)sops
spict2FLQuant()spict2FLQuant
spict2FLStockR()spict2FLStockR
spict2stars()spict2stars
Equilibrium depletion implied by SPR under Beverton-Holt steepnessspr2depletion
ss2FLStockR()ss2FLStockR
ss2ices()ss2ices
ss2stars()ss2stars
ss3colss3col
ss3devsss3devs
ss3vcvss3vcv
ssmvln()ssmvln
stock2ratios()stock2ratios
stock2spm()stock2spm
stockMedians() Converts FLStock into simplified FLStock with Median FLQuantsstockMedians
computes catch.n for a given harvestupdCatch.n
updsr()updsr
updstars()updstars
Calculate vulnerable biomass from an FLBRP or FLStock objectvbbrp
Calculate seasonally weighted weight-at-agewt_a_seasonal