Skip to contents

Extract the Number of Observations Used to Fit a dynamite Model

Usage

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

Arguments

object

[dynamitefit]
The model fit object.

...

Not used.

Value

Total number of non-missing observations as an integer.

Examples

data.table::setDTthreads(1) # For CRAN
nobs(gaussian_example_fit)
#> [1] 1450