PRTDB: Pseudo Real Time Data Base

Description Usage Arguments Value Examples

View source: R/PRTDB.R

Description

Create a pseudo real time data base, based on data and delays of disclosure estipulated by the user.

Usage

1
PRTDB(mts, delay, vintage = Sys.Date())

Arguments

mts

A matrix time series - mts - with the series to be transformed.

delay

A numeric vector with the delay in days the information is available after the reference month. Each element correspond to the series in the respective column in mts.

vintage

The day where the data is supposed to be collected.

Value

A mts with the series transformed.

Examples

1
2
# Pseudo Real Time Data Base from data base BRGDP
PRTDB(BRGDP,1:dim(BRGDP)[2])

guilbran/nowcasting documentation built on May 17, 2019, 2:09 p.m.