Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 206278

Rstudios sarima show only plots

$
0
0

I have the following code that I am running in Rstudios:

```{r}
library(astsa)
data = c(1:500)
mo1 = sarima(data,0,0,2)
```

It produces both the five plots I am interested in and output from the nonlinear optimization routine. I don't want the output from the nonlinear optimization however to turn it off using details=FALSE I will also turn off the plots which I need.

When I run this code in the console, the plots are put into a pdf and the optimization output is printed to STDOUT. This is good because I can have the plots and optimization separately which is what I need, however I want to do this in RStudios. How can this be done?


Viewing all articles
Browse latest Browse all 206278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>