eightMethods.count | R Documentation |
Compute exponents for the IBTS dataset using all eight methods, explicitly using the counts (number of each bodyMass), which can be non-integer.
eightMethods.count(data = data, oneYear = 1980, figName = "eightMCnt")
data |
local data frame that has a unique row for every combination of
|
oneYear |
the year of data to use, from that in the multiple years contained in data |
figName |
figure name, will get appended by |
In eightMethods()
, had to expand data to get a vector, x
, of individual
fish sizes (lengths or weights), which is how the original methods functions
are written.
Now adding explicit methods here, such as
Llin.method.counts()
, to deal explicitly with counts, and that
should also work for non-integer counts. For integer
counts, the original expansion to give x
should give the same results.
data frame with one row for each method, with columns:
Year
Method
b
(estimate of b from that method)
confMin
(lower end of 95\
confMax
(upper end of 95\
a .png figure paste(figName, "-", oneYear, ".png")
of the fits for each of the eight methods
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.