plot.altf4 | R Documentation |
altf4
Object.The function plots selected outcomes from altf4
object.
## S3 method for class 'altf4'
plot(x,non.interactive=NULL, ...)
x |
an object of |
non.interactive |
optional, |
... |
not used |
After executing the command, the User is asked to choose
1 - for plotting expected coefficients in separate png files, saved in the temporary directory, and moreover, to paste them into one big plot (also saved as a png file in the temporary directory),
2 - for plotting weights of all models used in averaging,
3 - for plotting expected window size.
Chosing 0 exits the plot
command.
If non.interactive=TRUE
all the above plots are made.
Called for making a plot.
It is suggested to execute graphics.off
before exectuing plot
command for altf4
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 altf4
object, sometimes a legend might cover the important parts of the plot.
wti <- crudeoil[-1,1]
drivers <- (lag(crudeoil[,-1],k=1))[-1,]
a <- altf4(y=wti,x=drivers,windows=c(36,100,150))
plot(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.