Man pages for MQMF
Modelling and Quantitative Methods in Fisheries

abdatabdat A list of fishery data for blacklip abalone
addcontoursaddcontours simplifies adding contours to an xy plot of...
addlnormaddlnorm estimates a log-normal distribution from output of...
addnormaddnorm adds a normal distribution to a histogram of a data...
aicbicaicbic returns the AIC and BIC for a given model
altnegLLaltnegLL calculate the Normal negative log-likelihood
bcebce Baranov catch equation
bhbh represents one version of Beverton-Holt recruitment
blackislandblackisland tagging data from a blacklip abalone population
bracketbracket bounds a value on the x-axis and y-axis
calcpriorcalcprior return the sum of a vector of constant values as...
chapter2chapter2 The 15 R-code chunks from A Non-Introduction to R
chapter3chapter3 The 27 R-code chunks from Simple Population Models
chapter4chapter4 The 47 R-code chunks from Model Parameter Estimation
chapter5chapter5 The 23 R-code chunks from Static Models
chapter6chapter6 The 53 R-code chunks from On Uncertainty
chapter7chapter7 The 67 R-code chunks from Surplus Production Models
countgtonecountgtone used in apply to count the number > 1 in a vector
countgtzerocountgtzero used in apply to count numbers > zero in a vector
countNAscountNAs used in apply to count the number of NAs in a vector
countonescountones used in apply to count the number of ones in a...
countzeroscountzeros used in apply to count the number of zeros in a...
dataspmdataspm A data.frame of fisheries catch and cpue data
discretelogisticdiscretelogistic example and figure 3.2 Discrete logistic...
do_MCMCdo_MCMC conducts an MCMC using Gibbs within Metropolis
domeddomed calculates domed selectivity curves
fabensfabens calculates predicted growth increment for tagging data
facttonumfacttonum converts a vector of numeric factors into numbers
fitSPMfitSPM fits a surplus production model
freqMeanfreqMean calculates the mean and stdev of count data
getlaggetlag is used to look for the response of cpue to previous...
getmaxgetmax can be used to define the upper bound for a plot
getmingetmin can be used to define the lower bound for a plot
getMSYgetMSY calculates the MSY for the Polacheck et al 1993...
getnamegetname returns the name of a variable as character
getrmsegetrmse calculates the rmse of the input 'invar' series
getseedgetseed generates a random number seed
getsinglegetsingle extracts one number from an input line of...
gettimegettime calculates time in seconds passed each day
getvectorgetvector extracts a vector of numbers from a line of...
grapes-ni-grapes'%ni%' identifies which element in x is NOT in y
GzGz calculates predicted Gompertz length-at-age growth curve
halftablehalftable halves the height of a tall narrow data.frame for...
inthistinthist a replacement for the hist function for use with...
invlinvl calculates growth increments for the inverse logistic
iscolincol is a utility to determine if a column is present in a...
LatALatA Simulated length-at-age for 358 female fish
likeratiolikeratio conducts a likelihood ratio test
linterlinter finds a value in a series using its location in...
logistlogist Logistic selectivity function
magnitudemagnitude returns the magnitude of numbers in base 10
makelabelmakelabel generates a label from text and values
maturemature alternative logistic function commonly used for...
minnowminnow contains weekly growth data for use with seasonal...
mmmm calculates the predicted Michaelis-Menton length-at-age
mnnegLLmnnegLL generic multinomial negative log-likelihoods
MQMFMQMF functions for Using R for Modelling and Quantitative...
negLLnegLL calculate log-normal log-likelihoods
negLL1negLL1 calculate log-normal log-likelihoods with a penalty
negLLMnegLLM -ve log-normal likelihoods for multiple index...
negLLPnegLLP -ve log-likelihood for normally distributed variables
negNLLnegNLL -ve log-likelihood for normally distributed variables
negnormLnegnormL an alternative -log-likelihood for normal errors
npfnpf fishery catch data from Northern Prawn Fishery 1970-1992
outfitoutfit tidy print of output from optim, nlminb, or nlm
panel.corpanel.cor is a version of a function given in the help for...
parasymptparasympt generates N vectors from a multi-variate normal
parsetparset alters the current base graphics par settings
parsynparsyn types the standard par command syntax to the console
penalty0penalty0 enables the adding of a large penalty as one...
penalty1penalty1 adds an increasingly large penalty as a value...
plot1plot1 a quick way to plot an xy line or point plot
plot.dynpopplot.dynpop an S3 method for plotting dynpop objects
plotfishMplotfishM plots the catch and optionally the cpue
plotlagplotlag plots the effect of a lag between two variables
plotprepplotprep sets up a window and the par values for plotting
plotprofileplotprofile simplifies plotting single likelihood profiles
plotprojplotproj generate a plot of a matrix of biomass projections
plotspmdatplotspmdat plots the fish data containing catches and cpue
plotspmmodplotspmmod plots an spm model fit given parameters and data
predfreqpredfreq is used for modal analysis of count data
printVprintV returns a vector cbinded to 1:length(invect)
propertiesproperties - used to examine the properties of a data.frame
pttunapttuna is yellowfin tuna fishery data from Pella-Tomlinson...
quantsquants used in apply to estimate quantiles across a vector
removeEmptyremoveEmpty removes empty strings from a vector of strings
rickerricker one version of the Ricker stock recruitment
robustSPMrobustSPM does a robustness test on quality of fit of an SPM
schaefschaef is yellowfin tuna fishery data from Schaefer 1957
setpalettesetpalette is a shortcut for altering the palette to R4
simpspmsimpspm calculates only the predicted log(CE) for an SPM
simpspmMsimpspmM calculates predicted CE when multiple indices are...
spmspm calculates the dynamics of a Schaefer or Fox model
spmbootspmboot conducts a bootstrap analysis on a spm model
spmCEspmCE - calculates the dynamics for multiple cpue time-series
spmphaseplotspmphaseplot - plots the phase plot of harvest rate vs...
spmprojspmproj calculates biomass trajectories for replicate...
spmprojDetspmprojDet conducts forward projections from known conditions
srugsrug is the Schnute and Richards Unified Growth Curve
ssqssq a generalized function for summing squared residuals
summspmsummspm extracts critical statistics from output of...
tasabtasab is a matrix of abalone maturity-at-length data
tigerstigers is tiger prawn recruitment data from Penn & Caputi...
twoindextwoindex has orange roughy catches with hypothetical cpue
uphistuphist a histogram with an upper limit on the x-axis
vBvB calculates the predicted von Bertalanffy length at age
which.closestwhich.closest find a number in a vector closest to a given...
MQMF documentation built on Sept. 8, 2023, 5:14 p.m.