# Length-Based Spawning Potential Ratio

## Documentation for package ‘LBSPR’ version 0.1.6

- DESCRIPTION file
- User guides, package vignettes and other documentation

## Help Pages

calcCurves | Calculate Relative Yield, YPR, SPR, SSB, and Recruitment curves for F/M
DataDir | Report the location of the Data Files
FilterSmooth | Kalman filter and Rauch-Tung-Striebel smoother
getFMfun | Calculate F/M given SPR and other parameters
initialize-method | Create a new LB_lengths object
initialize-method | Create a new LB_obj object
initialize-method | Create a new LB_pars object
LBSPRfit | Fit LBSPR model to length data
LBSPRfit_ | Internal function to fit LBSPR model to length data
LBSPRopt | Optimisation Routine for fitting LBSPR
LBSPRsim | LBSPR Simulation Model
LBSPRsim_ | Internal LBSPR Simulation Model
LBSPR_NLLabsel | LBSPR Optimization function for age-based selectivity model
LBSPR_NLLgtg | LBSPR Optimization function for GTG model
LB_lengths-class | An S4 class containing length data
LB_obj-class | An S4 class containing all parameters for the LBSPR model
LB_pars-class | An S4 class containing life history and other parameters
plotCurves | Plot the Relative Yield, YPR, SPR, SSB, and Recruitment curves
plotEsts | Plot LBSPR model estimates
plotMat | Plot the maturity-at-length and selectivity-at-length curves
plotSim | General plotting function for simulated data
plotSize | Plot the size data and model fits
plotSPRCirc | Circle of estimated SPR and target and limit points
plotTarg | Plot sampled length structure against target simulated size composition
Shiny | Run a Shiny Application