A very simple function, mainly for internal use by
package code, to count the number of functional
covariates in an object of class funreg.
num.functional.covs.in.model(object)An object of class funreg, representing
a fitted penalized functional regression with one or more
functional covariates.
The number of functional covariates as an integer.