Skip to contents

Implements the standard stats::nobs() contract so downstream tools (step(), broom's glance(), information criteria) can ask for the training-sample size.

Usage

# S3 method for class 'ppmodel'
nobs(object, ...)

Arguments

object

A pptr or pprf model.

...

Unused.

Value

Integer scalar. Returns NA_integer_ for models loaded from JSON without their original training data.