plotly_param: plot 3D plot using plotly

View source: R/plotly_param.R

plotly_paramR Documentation

plot 3D plot using plotly

Description

This function plots the kernel density estimate and true density for simulated data.

Usage

plotly_param(
  mark_recapture_object,
  param,
  b = "all",
  filename = "",
  no_ci = FALSE
)

Arguments

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.

Value

saves a html file and returns the plotly plot

Examples

{
mro2 <- est_uncertainty(mro2D, "s", iterations = 2, filename = "test")
mro2 <- bootstrap_quantiles(mro2, "s", "test")
plotly_param(mro2, param = "s")
}


SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.