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, ...)
A model object of class 'cmdlr'
Should fallback methods be used to try to guess the value?
Additional arguments passed