View source: R/abundanceDistributionPlot.r
abundanceDistributionPlot | R Documentation |
uses the output of nefsc.analysis or dfo.rv.analysis to examine the relationship between design weighted area occupied and abundance
abundanceDistributionPlot(
x,
m = NULL,
fp = project.figuredirectory("bio.lobster"),
fname
)
x |
:the output file from nefsc.analysis or dfo.rv.analysis |
m |
:the output of a loglinear model of abundance and distribution. |
fp |
: file path for saving |
fn |
: file name, needs to include .pdf as this is currently only setup to make pdf files. |
makes two plots of design weighted area occupied against N.yst and the time series of anomalies from the supplied log linear plot
Adam Cook, Adam.Cook@dfo-mpo.gc.ca
require(bio.lobster)
aout= nefsc.analysis(DS='stratified.estimates.redo',p=p)
aout$ln.n.Yst = log(aout$n.Yst)
aout$ln.dwao = log(aout$dwao)
model = lm(ln.dwao~ln.n.Yst,data=aout)
abundanceDistributionPlot(aout,m=model'nefscSpringLFA41.pdf')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.