plotly_param | R Documentation |
This function plots the kernel density estimate and true density for simulated data.
plotly_param(
mark_recapture_object,
param,
b = "all",
filename = "",
no_ci = FALSE
)
mark_recapture_object |
object of class mark_recapture_object (see mark_recapture_object()) |
param |
parameter to be plotted. Can be "m" or "s". Only one parameter can be plotted at once. Select different areas of origin with the argument b. |
b |
specifies the area of origin for which the plot is drawn. Can be either a origin_name, the corresponding number of the area of origin or "all" for all origins at once. |
filename |
optional filename extension. Defaults to "". |
no_ci |
suppresses drawing the confidence interval, even if bootstrap information is in the mark_recapture_object. Defaults to FALSE. |
saves a html file and returns the plotly plot
{
mro2 <- est_uncertainty(mro2D, "s", iterations = 2, filename = "test")
mro2 <- bootstrap_quantiles(mro2, "s", "test")
plotly_param(mro2, param = "s")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.