plot.predict.WEE.quantile: Plot predicted quantiles of WEE.quantile regression fit

Description Usage Arguments See Also Examples

View source: R/WEE_functions.r

Description

Plot the predicted quantiles and their point-wise confidence intervals of a WEE-quantile fit on new dataset.

Usage

1
2
## S3 method for class 'predict.WEE.quantile'
plot(x, CI = FALSE, level = 0.95, index = 1, ...)

Arguments

x

object produced by predict.WEE.quantile.

CI

logical flag indicating whether to plot confidence interval: default is FALSE; if TRUE the function not only plots point predictions for each of the 'newdata' points but also lower and upper confidence limits. Only set TRUE when boot > 0.

level

confidence level.

index

a vector to indicate the subset of newx to be plotted. Default is 1, i.e. the first combination of newx.

...

further graphical parameters passed to plot.

See Also

predict.WEE.quantile

Examples

1
2
3
4
5
6
## continued from predict.WEE.quantile
## Plot prediction without confidence interval
plot(p1,index = c(2,3))

## Plot prediction with confidence interval
plot(p2, CI = TRUE)

WEE documentation built on May 2, 2019, 6:43 a.m.