plot.denReg {frechet} | R Documentation |
Plots for Fréchet regression for univariate densities.
Description
Plots for Fréchet regression for univariate densities.
Usage
## S3 method for class 'denReg'
plot(
x,
obj = NULL,
prob = NULL,
xlab = NULL,
ylab = NULL,
main = NULL,
ylim = NULL,
xlim = NULL,
col.bar = TRUE,
widrt = 4,
col.lab = NULL,
nticks = 5,
ticks = NULL,
add = FALSE,
pos.prob = 0.9,
colPalette = NULL,
...
)
Arguments
x |
A |
obj |
An integer indicating which output to be plotted; 1, 2, 3, 4, and 5 for |
prob |
A vector specifying the probability levels for reference chart if |
xlab |
Character holding the label for x-axis; default: |
ylab |
Character holding the label for y-axis; default: |
main |
Character holding the plot title; default: |
ylim |
A numeric vector of length 2 holding the range of the y-axis to be drawn; default: automatically determined by the input |
xlim |
A numeric vector of length 2 holding the range of the x-axis to be drawn; default: automatically determined by the input |
col.bar |
A logical variable indicating whether a color bar is presented on the right of the plot - default: |
widrt |
A scalar giving the width ratio between the main plot and the color bar - default: 4. |
col.lab |
A character giving the color bar label. |
nticks |
An integer giving the number of ticks used in the axis of color bar. |
ticks |
A numeric vector giving the locations of ticks used in the axis of color bar; it overrides |
add |
Logical; only works when |
pos.prob |
|
colPalette |
A function that takes an integer argument (the required number of colors) and returns a character vector of colors interpolating the given sequence
(e.g., |
... |
Can set up |
Value
No return value.
Note
see DenFMean
, GloDenReg
and LocDenReg
for example code.