Description Usage Arguments Examples
Make plot to visualize the output of nowcast function
1 | nowcast.plot(out, type = "fcst")
|
out |
Output of function nowcast |
type |
'fcst', 'factors', 'eigenvalues','eigenvectors', 'month_y' |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
trans <- USGDP$Legenda$Transformation[-length(USGDP$Legenda$Transformation)]
base <- USGDP$Base[,-dim(USGDP$Base)[2]]
gdp <- month2qtr(USGDP$Base[,dim(USGDP$Base)[2]])
x <- Bpanel(base = base, trans = trans)
now <- nowcast(y = gdp, x = x, q = 2, r = 3,method = 'GRS2008')
nowcast.plot(now, type = "fcst")
nowcast.plot(now, type = "factors")
nowcast.plot(now, type = "eigenvalues")
nowcast.plot(now, type = "eigenvectors")
x2 <- Bpanel(base = base, trans = trans,aggregate = F)
now2 <- nowcast(y = gdp, x = x2, q = 2, r = 3,method = 'BR2011')
nowcast.plot(now2, type = "fcst")
nowcast.plot(now2, type = "factors")
nowcast.plot(now2, type = "eigenvalues")
nowcast.plot(now2, type = "eigenvectors")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.