View source: R/writeTCSAM02_EffortData.R
writeTCSAM02_EffortData | R Documentation |
Function to write effort data to a connection in TCSAM02 input format.
writeTCSAM02_EffortData(
con = stdout(),
dfr = NULL,
closed = NULL,
avgInterval = "[1992:-1]",
likeType = c("NORM2", "NORMAL", "LOGNORMAL"),
likeWgt = 1,
unitsIn = c("ONES", "MILLIONS"),
unitsOut = c("ONES", "MILLIONS")
)
con |
: connection to use (default=stdout) |
dfr |
: effort data dataframe to write to connection |
closed |
: vector of closure years (or NULL) |
avgInterval |
: averaging interval (e.g., "[1992:-1]") |
likeType |
: likelihood type ("NORM2","NORMAL",or "LOGNORMAL") |
likeWgt |
: likelihood weight (multiplier) |
unitsIn |
: input effort units ("ONES","MILLIONS") |
unitsOut |
: output effort units ("ONES","MILLIONS") |
The input values should be in ONES.
The input dataframe should have the following column names
year
effort
Invisibly returns the connection con
to allow piping.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.