eightMethods | R Documentation |
Originally developed and called in nSea15analysis.Snw
, which was modified
from what was in fitting2.r. May be specific to the IBTS data set, only for
one year and I think subsumed in eightMethods.count()
eightMethods(
oneYear = 1980,
dataForYear = dplyr::filter(data, Year == oneYear),
figName = "eightMethods"
)
oneYear |
the year of data to use, from that in the multiple years contained
in |
dataForYear |
local data frame that has a
unique row for every combination of
|
figName |
figure name, will get appended by |
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\
Also saves a .png
figure called 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.