Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have a question about R prophet. I can plot the forecast using:
plot(
prophet_plot[[1]],
prophet_plot[[2]])
However, I would like to plot only the past X data points before the forecast and the forecast itself.
Namely, I am using data from 2013-01-01 until 2018-11-25 and making a forecast until 2018-12-25. What I would like to see on the plot is the data+forecast from 2015-11-25 until 2018-12-25.
So basically an xlim, but on a Prophet object.
Could someone help me with this?
Cheers,
Irina
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Can anyone please tell me how to plot location data in the R language?
Suppose I have data "Date-time" with X and Y coordinates (latitude and Longitude) as mentioned below;I am trying to do in R language.
Date: 2016-02-25 17:21:09.147,
Location (2.39, 48.71)
To visualise your 3D data, you can use plot3d and combine it with datetick to format the time axes.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
For the auto.arima function in forecast package of R, is there a way to let the function omit a model of arima(0,0,0), as I simply assume there must be some correlation within the dataset.
You could try looking at the help for the function
auto.arima(). Check the arguments start.p, start.q,
d,max.d
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is it possible to create correlation matrix in ggplot2 package that will include histograms and scatterplots of included variables?
I'm looking for something similar to the following graph generated with the gpairs() function from the YaleToolkit package.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How to use the output from contour(), which is just x, y and z data, to make a shapefile of the contour lines for output into ArcMap?
As a matter of fact there is a function for that in package maptools: ContourLines2SLDF converts the output of contourLines into a SpatialLinesDataFrame object.
cl <- contourLines(volcano)
shp <- ContourLines2SLDF(cl)
You can then save it to a file using maptools's writeSpatialShape or rgdal's writeOGR.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i want to fit a tweedie compound Poisson Gamma to my loss data using ptweedie.series R command. I am getting problems how to start with my fitting in R. Thanks in advance.
Performing such a fit is illustrated here:
library(tweedie)
example("tweedie-package")