Learn R Programming

BCDating (version 0.9.8)

window-methods: Extracting a window of A BCDating

Description

Methods for function window

Arguments

Methods

signature(x = "BCDating")

Sometimes you need to know the state of economics in just a period of time. Using Window, you can obtain a new BCDating object limited to the time period mentioned. See examples.

Examples

Run this code
# NOT RUN {
library(BCDating)
data(MBRI.Iran.Dating)
MBRI.Iran.Dating
window(MBRI.Iran.Dating,start=c(1368,2),end=c(1376,1)) # 5th and 6th Gov's of IRI
# }

Run the code above in your browser using DataLab