% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit.R
\name{plot.PStrataFit}
\alias{plot.PStrataFit}
\title{Plot PStrataFit Objects}
\usage{
\method{plot}{PStrataFit}(x, what = c("default", "trace", "dens"), pars = "strata_prob", ...)
}
\arguments{
\item{x}{A \code{PStrataFit} object.}

\item{what}{\code{"default"} for strata proportions + potential outcomes,
\code{"trace"} for traceplots, \code{"dens"} for density plots.}

\item{pars}{Parameter names for trace/dens plots (ignored for default).}

\item{...}{Additional arguments passed to plotting functions.}
}
\value{
A ggplot object.
}
\description{
By default, shows violin plots of posterior strata proportions
and potential outcomes (non-survival).
Use \code{what = "trace"} or \code{what = "dens"} for MCMC diagnostics.
}
