Description Usage Arguments Examples
print.hgam is used to display some information about the fitted GAMs.
plot.hgam plot the marginal effects of the two selected covariates.
fitted.hgam is used to predict the original data with the fitted GAM model.
coef.hgam is used to display the fitted coefficients.
predict.hgam is used to predict (new) data with the fitted GAM model.
logLik.hgam is used to display the value of the log likelihood function.
print.hrisk is used to display the results of the hrisk function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## S3 method for class 'hgam'
print(x, ...)
## S3 method for class 'hgam'
plot(x, which = NULL, newdata = NULL,
rug = TRUE, multidim = FALSE, ...)
## S3 method for class 'hgam'
fitted(object, ...)
## S3 method for class 'hgam'
coef(object, ...)
## S3 method for class 'hgam'
predict(object, newdata = NULL, which = NULL, intercept = NULL, ...)
## S3 method for class 'hgam'
logLik(object, ...)
## S3 method for class 'hrisk'
print(h, ...)
|
x |
an object of class hgam |
object |
an object of class hgam |
newdata |
a data frame. If |
which |
which covariate to be predicted. Character or integer can both be used. If
|
multidim |
when |
intercept |
boolean or |
h |
an object of the class hrisk. |
rug |
logical, add rugs to plots. |
... |
ignored. |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.