charts | R Documentation |
Computes and returns quantiles as a function of the specified covariate values
charts(fit, k, file = NULL, digits=2, conf.level=0,
dataframe=FALSE, transf=NULL, se.type=c("sandw","boot"), ...)
fit |
The object fit returned by |
k |
Numeric indicating the covariate values. If integer (and scalar, specified via |
file |
If specified, the (path) file name wherein the returned matrix including the quantiles will be written via |
digits |
Number of digits whereby the estimated quantiles are rounded. |
conf.level |
If larger than zero, the pointwise confidence intervals for the estimated quantiles are also returned. If |
dataframe |
Logical. If |
transf |
An optional character string (with |
se.type |
Which covariance matrix should be used, provided that |
... |
Further arguments passed on to |
This function is simply a wrapper for predict.gcrq
A matrix having number of columns equal to the number of quantile curves and number of rows depending k
charts
just works with models having a single smooth term. See predict.gcrq
when the model involves multiple covariates.
Vito Muggeo
predict.gcrq
## Not run:
charts(_fit_, k=1L) #prediction at the minimum of covariate
charts(_fit_, k=1) #prediction at covariate value 1.
charts(_fit_, k=10L)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.