plot.qlss {Qtools} | R Documentation |
Quantile-based Summary Statistics for Location, Scale and Shape
Description
This function plots location, scale and shape of a conditional distribution.
Usage
## S3 method for class 'qlss'
plot(x, z, whichp = NULL, interval = FALSE, type = "l", ...)
Arguments
x |
an object of class |
z |
numeric vector of values against which LSS measures are plotted. This argument is required. |
whichp |
when |
interval |
logical flag. If |
type |
1-character string giving the type of plot desired. See |
... |
other arguments for |
Details
This function plots a qlss
object from qlss
or predict.qlss
.
Author(s)
Marco Geraci
See Also
Examples
trees2 <- trees[order(trees$Height),]
fit <- qlss(Volume ~ Height, data = trees2, probs = c(.05, .1))
# Plot the results for probs = 0.1
plot(fit, z = trees2$Height, whichp = 0.1, xlab = "height")
[Package Qtools version 1.5.9 Index]