| augment.ipd | R Documentation |
Augment data from an ipd fit
## S3 method for class 'ipd'
augment(x, data = x@data_u, ...)
x |
An object of class |
data |
A |
... |
Ignored. |
The data.frame with columns .fitted and .resid.
dat <- simdat()
fit <- ipd(Y - f ~ X1, method = "pspa", model = "ols",
data = dat, label = "set_label")
augmented_df <- augment(fit)
head(augmented_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.