F.plot.passage | R Documentation |
Plot a bar graph of the passage estimates in the temporal units specified by the user in the original passage function call.
F.plot.passage(df, out.file = "passage.png")
df |
A data frame containing passage estimates calculated via function
|
out.file |
The name of the file prefix under which output is to be
saved. Set to |
It is assumed that data frame df
contains at the least
variables <temporal time frame>
, passage
, date
, and
pct.imputed.catch
. Variable <temporal time frame>
is either
one of "year
," "month
," "week
," or "day
." Weeks
are reported in a modified Julian fashion as recorded in the "Dates
"
table in any associated CAMP Access database. Passage estimates for each
reported time period are rounded to the nearest whole fish. Variable
date
is a POSIX date, with data formatted as %Y-%m-%d
,
i.e., the ISO 8601 date format, with a 4-digit year. Variable
pct.imputed.catch
contains the estimated imputed proportion, and so
takes on values between zero and one, inclusive.
Other variables included as part of dataframe df
are not utilized
per se in the function, but do pass through.
Output includes a png
graphical display of total estimated
passage by specified temporal unit. Temporal units, or bars in the graph,
display both the number of observed fish and imputed fish. The total
number of estimated fish over the entire temporal range is also reported.
WEST Inc.
F.est.passage
## Not run: # ---- Plot passage estimates per temporal time unit to # ---- the plot window. F.plot.passage( df, out.file=NA ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.