smooth_terms.tramME | R Documentation |
Extract and evaluate the smooth terms of a tramME model
## S3 method for class 'tramME'
smooth_terms(object, k = 100, newdata = NULL, ...)
object |
A |
k |
Integer, the number of points to be used to evaluate the smooth terms.
Ignored when |
newdata |
A |
... |
Optional arguments. |
A list of results from evaluating the smooth terms of the model.
data("mcycle", package = "MASS")
fit <- LmME(accel ~ s(times), data = mcycle)
plot(smooth_terms(fit))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.