% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print_methods.R
\name{print.gg}
\alias{print.gg}
\alias{print.gg_error}
\alias{print.gg_vimp}
\alias{print.gg_rfsrc}
\alias{print.gg_variable}
\alias{print.gg_partial}
\alias{print.gg_partial_rfsrc}
\alias{print.gg_partialpro}
\alias{print.gg_roc}
\alias{print.gg_survival}
\alias{print.gg_brier}
\title{Print methods for gg_* data objects}
\usage{
\method{print}{gg_error}(x, ...)

\method{print}{gg_vimp}(x, ...)

\method{print}{gg_rfsrc}(x, ...)

\method{print}{gg_variable}(x, ...)

\method{print}{gg_partial}(x, ...)

\method{print}{gg_partial_rfsrc}(x, ...)

\method{print}{gg_partialpro}(x, ...)

\method{print}{gg_roc}(x, ...)

\method{print}{gg_survival}(x, ...)

\method{print}{gg_brier}(x, ...)
}
\arguments{
\item{x}{A \code{gg_*} data object.}

\item{...}{Not currently used.}
}
\value{
The object \code{x}, invisibly.
}
\description{
Each \code{print.gg_*()} method emits a single-line header containing the
class label and, when available, forest provenance metadata (source package,
family, ntree, n). The object is returned invisibly so \code{print()} calls
chain cleanly in pipes.
}
\details{
To inspect rows use \code{head()}.  To retrieve per-class diagnostics use
\code{\link{summary.gg}}.
}
\examples{
set.seed(42)
airq <- na.omit(airquality)
rf <- randomForestSRC::rfsrc(Ozone ~ ., data = airq, ntree = 50)
print(gg_error(rf))
print(gg_vimp(rf))

}
\seealso{
\code{\link{summary.gg}}, \code{\link{autoplot.gg}}
}
