A generic method for getting the number of observations based on the number of rows in the matrix of gradient observations.

# S3 method for cmdlr
nobs(object, use.fallback = FALSE, ...)

Arguments

object

A model object of class 'cmdlr'

use.fallback

Should fallback methods be used to try to guess the value?

...

Additional arguments passed