powered by
Extract terms.objects for BAMLSS.
terms.object
# S3 method for bamlss terms(x, specials = NULL, data = NULL, model = NULL, pterms = TRUE, sterms = TRUE, drop = TRUE, ...)# S3 method for bamlss.frame terms(x, specials = NULL, data = NULL, model = NULL, pterms = TRUE, sterms = TRUE, drop = TRUE, ...)# S3 method for bamlss.formula terms(x, specials = NULL, data = NULL, model = NULL, pterms = TRUE, sterms = TRUE, drop = TRUE, ...)
# S3 method for bamlss.frame terms(x, specials = NULL, data = NULL, model = NULL, pterms = TRUE, sterms = TRUE, drop = TRUE, ...)
# S3 method for bamlss.formula terms(x, specials = NULL, data = NULL, model = NULL, pterms = TRUE, sterms = TRUE, drop = TRUE, ...)
An link{bamlss}, bamlss.frame or bamlss.formula object.
link{bamlss}
bamlss.frame
bamlss.formula
See terms.object.
Data passed to terms.formula.
terms.formula
Character or integer, specifies the model for which terms should be returned.
Should parametric terms be part of the object?
Should smooth terms be part of the object?
If terms for only one model are returned, the list structure is dropped.
model
Arguments passed to bamlss.formula.
Object of class "bamlss.terms", a list of terms.objects, depending on the structure of the bamlss.formula object.
"bamlss.terms"
bamlss, bamlss.frame, bamlss.formula.
bamlss
# NOT RUN { ## Model formula. f <- list( num ~ x1 + x2 + id, sigma ~ x3 + fac + lon + lat ) ## Create the terms object. terms(bamlss.formula(f)) # }
Run the code above in your browser using DataLab