g | R Documentation |
Collect information to smooth the term in its argument. Used in the model formula.
g(var, df = NULL)
var |
variable to be smoothed |
df |
equivalent degrees of freedom to be passed to the smoother. If |
This function only sets things up for model fitting. The smooth terms are actually fitted by bkfsmooth
.
List containing the same elements of its argument.
This function is intended to be called from within a model formula.
Washington Leite Junger wjunger@ims.uerj.br
Green, P. J., Silverman, B. W. (1994) Nonparametric Regression and Generalized Linear Models: a roughness penalty approach. Chapman and Hall, London
Hastie, T. J., Tibshirani, R. J.(1990) Generalized Additive Models. Chapman and Hall, London
Junger, W. L. (2004) Semiparametric Poisson-Gamma models: a roughness penalty approach. MSc Dissertation. Rio de Janeiro, PUC-Rio, Department of Electrical Engineering.
pgam
, formparser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.