{"action":"opened","issue":{"url":"https://api.github.com/repos/robjhyndman/forecast/issues/345","repository_url":"https://api.github.com/repos/robjhyndman/forecast","labels_url":"https://api.github.com/repos/robjhyndman/forecast/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/robjhyndman/forecast/issues/345/comments","events_url":"https://api.github.com/repos/robjhyndman/forecast/issues/345/events","html_url":"https://github.com/robjhyndman/forecast/issues/345","id":166985497,"number":345,"title":"Slight mistake in \"plot.forecast\" documentation","user":{"login":"pascaloettli","id":6613954,"avatar_url":"https://avatars.githubusercontent.com/u/6613954?v=3","gravatar_id":"","url":"https://api.github.com/users/pascaloettli","html_url":"https://github.com/pascaloettli","followers_url":"https://api.github.com/users/pascaloettli/followers","following_url":"https://api.github.com/users/pascaloettli/following{/other_user}","gists_url":"https://api.github.com/users/pascaloettli/gists{/gist_id}","starred_url":"https://api.github.com/users/pascaloettli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascaloettli/subscriptions","organizations_url":"https://api.github.com/users/pascaloettli/orgs","repos_url":"https://api.github.com/users/pascaloettli/repos","events_url":"https://api.github.com/users/pascaloettli/events{/privacy}","received_events_url":"https://api.github.com/users/pascaloettli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T07:23:08Z","updated_at":"2016-07-22T07:23:08Z","closed_at":null,"body":"Hello,\r\n\r\nIn the documentation of the `plot.forecast` function (v.7.1 and v.7.2) , we find:\r\n\r\n    pi.col\tIf shade=FALSE and plot.conf=TRUE, the prediction intervals are plotted in this colour.\r\n    pi.lty\tIf shade=FALSE and plot.conf=TRUE, the prediction intervals are plotted using this line type.\r\n\r\nHowever, if we try:\r\n\r\n    wine.fit <- hw(wineind,h=48)\r\n    plot(wine.fit, shade=FALSE, plot.conf=TRUE)\r\n\r\nWe get this error:\r\n\r\n    Error in plot.forecast(wine.fit, shade = FALSE, plot.conf = TRUE) : \r\n      argument 2 matches multiple formal arguments\r\n\r\nBecause the correct argument is `shaded`, not `shade`:\r\n\r\n    shaded\tLogical flag indicating whether prediction intervals should be shaded (TRUE) or lines (FALSE)\r\n\r\nRegards"}}
{"actor":{"display_login":"pascaloettli"}}