Learn R Programming

#Install devtools package by following

install.packages("devtools")

unload if this package is in use previously

detach("package:aLBI", unload = T)

or remove the existing package by following code

remove.packages("aLBI")

Install the latest package

devtools::install_github("Ataher76/aLBI", force = T)

#Enter one or more numbers, or an empty line to skip updates: 1

calling the library

library(aLBI)

see the documentation of the first function

?FishPar

#or help(FishPar)

see the documentation of the secon function

?FishSS

or

help(FishSS)

estimating lenght parameters

estimatedParameters <- FishPar(data = lenfreq01, resample = 1000, progress = F)

#Extracting estimated length parameters estimatedParameters$estimated_length_par #Extracting estimated froese parameters estimatedParameters$estimated_froese_par #Extracting estimated frequency parameters estimatedParameters$estimated_freq_par #Extracting estimated LM_ratio estimatedParameters$LM_ratio #Extracting estimated Pobj estimatedParameters$Pobj

#Calling the second function StockStatus <- FishSS(data = CPdata, LM_ratio = 0.7, Pobj = 97, Pmat = 29.91881 , Popt = 25.46208 )

Extracting stock status

StockStatus$StockStatus StockStatus$Target_Cols

Copy Link

Version

Install

install.packages('aLBI')

Monthly Downloads

334

Version

0.1.9

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ataher Ali

Last Published

January 11th, 2026

Functions in aLBI (0.1.9)

FreqTM

FreqTM Generate Frequency Distribution Table for Fish Length Data Across Months
FishPar

Calculate Length-Based Indicators with Monte Carlo Simulation
LWdata

LWdata: Example length-weight dataset for aLBI package
FishSS

Assess Stock Status and Classify Fish selectivity
CPdata

CPdata: Example dataset for aLBI package
FrequencyTable

FrequencyTable Generate a Frequency Distribution Table for Fish Length Data
LWR

Plot and Model Length-Weight Relationships with Optional Log Transformation
lenfreq02

lenfreq02: Example dataset for aLBI package
ExData

ExData: Example raw length dataset for aLBI package
lenfreq01

lenfreq01: Example dataset for aLBI package
lenfreqM

lenfreqM: Example length-weight dataset for aLBI package