% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotly_contour.R
\name{plotly_contour}
\alias{plotly_contour}
\title{Interactive Contour Plot}
\usage{
plotly_contour(
  wblr_obj,
  main = "Contour Plot",
  xlab = "Eta",
  ylab = "Beta",
  showGrid = TRUE,
  cols = NULL,
  gridCol = "lightgray",
  signif = 3
)
}
\arguments{
\item{wblr_obj}{A single `wblr` object or a list of `wblr` objects. Each object
must have contours generated using `method.conf = 'lrb'`.}

\item{main}{Main title for the plot.}

\item{xlab}{X-axis label (typically Eta or Sigmalog).}

\item{ylab}{Y-axis label (typically Beta or Mulog).}

\item{showGrid}{Logical; whether to show grid lines (default TRUE).}

\item{cols}{Optional vector of colors for each contour/estimate pair. If not provided,
colors are chosen from a default palette.}

\item{gridCol}{Color of the grid lines (default 'lightgray').}

\item{signif}{Number of significant digits to display for estimates and contour coordinates.
Defaults to 3.}
}
\value{
A `plotly` object representing the interactive contour plot.
}
\description{
This function creates an interactive contour plot for one or more
`wblr` objects, each assumed to have confidence contours generated via
`method.conf = 'lrb'`. The function overlays all contours in a single plot and displays
their respective MLE point estimates.
}
\examples{
library(WeibullR)
library(ReliaPlotR)

failures1 <- c(30, 49, 82, 90, 96)
failures2 <- c(20, 40, 60, 80, 100)
obj1 <- wblr.conf(wblr.fit(wblr(failures1), method.fit = "mle"), method.conf = "lrb")
obj2 <- wblr.conf(wblr.fit(wblr(failures2), method.fit = "mle"), method.conf = "lrb")
plotly_contour(list(obj1, obj2), main = "Overlayed Contours")

}
