# NOT RUN {
#Example with a very small sample to decrease computational time.
y1 <-runif(20, 50, 75)
y2 <-runif(20, 30, 75)
y <- cbind(y1, y2)
check <- c(1, 1.05, 1.5)
colors <- c("black", "red", "blue")
graph1_m_BOD(output = y, mseries = c(5, 10, 15),
B = 50, RTS = "crs", ORIENTATION = "in",
check = check, col = colors)
# }
# NOT RUN {
#An example with a larger sample size.
x1 <-runif(100, 50, 75)
x2 <-runif(100, 30, 75)
x <- cbind(x1, x2)
y <- cbind(x+runif(100, -10, 0), rnorm(100, 15, 4))
graph1_m_BOD(output = y,
mseries = c(20, 30, 40, 50, 60, 70, 80),
B = 50,
RTS = "crs", ORIENTATION = "in",
check = c(1, 1.05, 1.2, 1.5),
col = c("black", "red", "blue", "green"))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab