nowcast.plot: Plot for the nowcast output function

Description Usage Arguments Examples

View source: R/nowcast.plot.R

Description

Make plots to visualize the output of the nowcast function

Usage

1
nowcast.plot(out, type = "fcst")

Arguments

out

output of the nowcast function.

type

'fcst', 'factors', 'eigenvalues' or 'eigenvectors'. The 'eigenvalues' and 'eigenvectors' options are only available for the two stages methods.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
data <- Bpanel(base = USGDP$base,
               trans = USGDP$legend$Transformation,
               aggregate = FALSE)
frequency <- c(rep(12, ncol(data) -1), 4)
now2s_agg <- nowcast(formula = RGDPGR ~ ., data = data, r = 2, p = 2, q = 2, 
                     method = '2s_agg', frequency = frequency)

nowcast.plot(now2s_agg, type = "fcst")
nowcast.plot(now2s_agg, type = "factors")
nowcast.plot(now2s_agg, type = "eigenvalues")
nowcast.plot(now2s_agg, type = "eigenvectors")

## End(Not run)

nmecsys/nowcasting documentation built on July 15, 2019, 12:57 p.m.