Description Usage Arguments Details Value Examples
Though a similar idea to broom::
augment
this returns
very different values.
1 | dfCompile.Gam(x, residuals = NULL, terms = labels.Gam(x), ...)
|
x |
|
residuals |
if TRUE, partial deviance residuals are plotted along with the fitted terms<e2><80><94>default is FALSE. If residuals is a vector with the same length as each fitted term in x, then these are taken to be the overall residuals to be used for constructing the partial residuals. |
terms |
subsets of the terms can be selected. |
... |
(extra parameters, passed to dfCompile.Gam). |
original data frame used to create lm or glm object
residuals between predicted verse actual y
values
For each variable in the model we have the following variables:
part of the predicted value from variable _
for each observation
lower pointwise twice-standard-error values for
each point relative to the part of the predicted value from variable
_
the "upper" version of se.smooth._.lower
augmented data.frame, see details
for more information
1 2 3 4 5 6 | library(tidyverse)
gam.object <- gam::gam(Sepal.Length ~ gam::s(Sepal.Width) + Species,
data = iris)
dfCompile.Gam(gam.object) %>% head
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.