Description Usage Arguments Details Note Examples

The function plots selected outcomes from `reg`

object.

1 2 |

`x` |
an object of |

`non.interactive` |
optional, |

`...` |
not used |

After executing the command, the User is asked to choose

1 - for plotting actual and predicted values,

2 - for plotting residuals,

3 - for plotting regression coefficients on one plot,

4 - for plotting regression coefficients in separate png files, saved in the current working directory, and moreover, to paste them into one big plot (also saved as a png file in the current working directory),

5 - for plotting p-values for t-test of statistical significance for regression coefficients on one plot,

6 - for plotting p-values for t-test of statistical significance for regression coefficients in separate png files, saved in the current working directory, and moreover, to paste them into one big plot (also saved as a png file in the current working directory).

Chosing 0 exits the `plot`

command.

If `non.interactive=TRUE`

all the above plots are made.

It is suggested to execute `graphics.off`

before exectuing `plot`

command for `reg`

object. However, the User should take care to save all other plots before executing this command, as they can be lost.

If `graphics.off`

is not executed before plotting `reg`

object, sometimes a legend might cover the important parts of the plot.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ```
## Not run:
wti <- crudeoil[-1,1]
drivers <- (lag(crudeoil[,-1],k=1))[-1,]
ld.wti <- (diff(log(wti)))[-1,]
ld.drivers <- (diff(log(drivers)))[-1,]
roll <- roll.reg(y=ld.wti,x=ld.drivers,window=100)
rec <- rec.reg(y=ld.wti,x=ld.drivers)
# graphics.off()
plot(roll)
# graphics.off()
plot(rec)
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.