% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ppmodel.R
\name{nobs.ppmodel}
\alias{nobs.ppmodel}
\title{Number of observations used to fit a ppforest2 model.}
\usage{
\method{nobs}{ppmodel}(object, ...)
}
\arguments{
\item{object}{A \code{pptr} or \code{pprf} model.}

\item{...}{Unused.}
}
\value{
Integer scalar. Returns \code{NA_integer_} for models loaded from
  JSON without their original training data.
}
\description{
Implements the standard \code{stats::nobs()} contract so downstream tools
(\code{step()}, broom's \code{glance()}, information criteria) can ask for
the training-sample size.
}
