Learn R Programming

PointFore (version 0.2.0)

plot.pointfore: Plots object of class "pointfore"

Description

Plots object of class "pointfore"

Usage

# S3 method for pointfore
plot(x, conf.levels = c(0.6, 0.9), pdf = TRUE,
  hline = TRUE, adjust.factor = 1, limits = NULL, ...)

Arguments

x

object of class "pointfore"

conf.levels

one or two confidence levels for pointwise confidence intervals

pdf

logic if pdf estimate should be plotted

hline

if TRUE plots horizontal line at 0.5. if numeric plot horizontal line at value.

adjust.factor

adjust factor for estimating pdf (controls smoothness)

limits

2-dimensional vector defining range of x-axis

...

other parameters

Value

plot

Examples

Run this code
# NOT RUN {
#estimate linear probit specification model for quantiles on GDP forecast
res <- estimate.functional(Y=GDP$observation,X=GDP$forecast,
model=probit_linear, stateVariable = GDP$forecast)
#plot results
plot(res)

# }

Run the code above in your browser using DataLab