Function to extract the log-likelihood for a fitted scam
model (fitted by penalized likelihood maximization).
Used by AIC.
The function is a clone of logLik.gam of the mgcv package.
The documentation below is similar to that of object logLik.gam.
# S3 method for scam
logLik(object,...)fitted model objects of class scam as produced by scam().
unused in this case
Standard logLik object: see logLik.
see logLik.gam for details.
Hastie and Tibshirani, 1990, Generalized Additive Models.
Wood, S.N. (2008) Fast stable direct fitting and smoothness selection for generalized additive models. J.R.Statist. Soc. B 70(3):495-518