| dpit-methods | R Documentation |
Methods for printing, summarizing, plotting, and extracting values from
objects returned by dpit(), dpit_2pm(), and the distribution-specific
DPIT calculators.
The print method displays the fitted model call or calls, when available,
and the sample size.
The summary method reports quantiles, mean, and standard deviation for the
selected scale.
The residuals method extracts the DPIT residuals, and the plot method constructs a QQ plot of the DPIT residuals against its reference distribution.
## S3 method for class 'dpit'
print(x, ...)
## S3 method for class 'dpit'
residuals(object, scale = c("normal", "uniform"), ...)
## S3 method for class 'dpit'
summary(object, scale = c("normal", "uniform"), ...)
## S3 method for class 'summary.dpit'
print(x, ...)
## S3 method for class 'dpit'
plot(x, scale = c("normal", "uniform"), line_args = list(), ...)
x |
A |
... |
Additional arguments passed to or from methods. For |
object |
A |
scale |
You can choose the scale of the residuals among |
line_args |
A named list of graphical parameters passed to
|
residuals.dpit() returns a numeric vector of DPIT residuals.
summary.dpit() returns an object of class summary.dpit.
The print and plot methods return their input invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.