% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_tp.R
\name{plot_tp}
\alias{plot_tp}
\title{Plot Tipping Point Analysis Results}
\usage{
plot_tp(
  tipse,
  title = "Tipping Point Analysis",
  subtitle = NULL,
  xlab = NULL,
  ylab = "Hazard Ratio"
)
}
\arguments{
\item{tipse}{An S3 object of class \code{"tipse"} returned from
\code{tipping_point_model_free()} or \code{tipping_point_model_based()}.}

\item{title}{Optional character string specifying the plot title. Set to \code{NULL}
to remove the title.}

\item{subtitle}{Optional character string specifying the plot subtitle. If \code{NULL},
a default subtitle including the method and tipping point is used.}

\item{xlab}{Optional character string specifying the x-axis label. If \code{NULL},
a method-specific default is used.}

\item{ylab}{Optional character string specifying the y-axis label. Defaults to
\code{"Hazard Ratio"}.}
}
\value{
A \code{ggplot2} object showing hazard ratios and confidence intervals across
tipping point parameters. The returned plot can be further modified using \code{+}.
}
\description{
Visualizes hazard ratios and corresponding confidence intervals across tipping point
parameters from tipping point analyses (one-dimensional). Supports both model-free and model-based
approaches, including percentile sampling, landmark sampling, and hazard-based methods.
The tipping point—defined as the parameter value where the upper confidence interval
crosses 1—is highlighted on the plot.
}
\keyword{internal}
