create_plot_from_simulation {AnglerCreelSurveySimulation} | R Documentation |
Create a plot from a creel survey simulation
Description
Generates a plot of either Ehat
or Ehat*catch_rate_ROM
as a function of true_effort
or true_catch
, respectively. Adds
link{lm()}
to the plot and returns the link{summary()}
of the
fitted model.
Usage
create_plot_from_simulation(data, value = "effort", color = "black")
Arguments
data |
The data frame from which to draw the |
value |
The value of interest from the simulation. Other values include
|
color |
The color of the points in the plot, passed to |
Author(s)
Steven H. Ranney
Examples
start_time <- 0
wait_time <- 8
n_anglers <- 50
n_sites <- 1
sampling_prob <- wait_time/12
mean_catch_rate <- 10
tmp <- conduct_multiple_surveys(91, start_time, wait_time, n_anglers, n_sites, sampling_prob,
mean_catch_rate, fishing_day_length = 12, mean_trip_length = 4)
create_plot_from_simulation(tmp, "catch")
[Package AnglerCreelSurveySimulation version 1.0.2 Index]