{"action":"created","issue":{"url":"https://api.github.com/repos/robjhyndman/forecast/issues/303","repository_url":"https://api.github.com/repos/robjhyndman/forecast","labels_url":"https://api.github.com/repos/robjhyndman/forecast/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/robjhyndman/forecast/issues/303/comments","events_url":"https://api.github.com/repos/robjhyndman/forecast/issues/303/events","html_url":"https://github.com/robjhyndman/forecast/issues/303","id":152732245,"number":303,"title":"Refitting stlm objects","user":{"login":"robjhyndman","id":127518,"avatar_url":"https://avatars.githubusercontent.com/u/127518?v=3","gravatar_id":"","url":"https://api.github.com/users/robjhyndman","html_url":"https://github.com/robjhyndman","followers_url":"https://api.github.com/users/robjhyndman/followers","following_url":"https://api.github.com/users/robjhyndman/following{/other_user}","gists_url":"https://api.github.com/users/robjhyndman/gists{/gist_id}","starred_url":"https://api.github.com/users/robjhyndman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robjhyndman/subscriptions","organizations_url":"https://api.github.com/users/robjhyndman/orgs","repos_url":"https://api.github.com/users/robjhyndman/repos","events_url":"https://api.github.com/users/robjhyndman/events{/privacy}","received_events_url":"https://api.github.com/users/robjhyndman/received_events","type":"User","site_admin":false},"labels":[{"id":3684800,"url":"https://api.github.com/repos/robjhyndman/forecast/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"mitchelloharawild","id":16127127,"avatar_url":"https://avatars.githubusercontent.com/u/16127127?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchelloharawild","html_url":"https://github.com/mitchelloharawild","followers_url":"https://api.github.com/users/mitchelloharawild/followers","following_url":"https://api.github.com/users/mitchelloharawild/following{/other_user}","gists_url":"https://api.github.com/users/mitchelloharawild/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchelloharawild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchelloharawild/subscriptions","organizations_url":"https://api.github.com/users/mitchelloharawild/orgs","repos_url":"https://api.github.com/users/mitchelloharawild/repos","events_url":"https://api.github.com/users/mitchelloharawild/events{/privacy}","received_events_url":"https://api.github.com/users/mitchelloharawild/received_events","type":"User","site_admin":false},"assignees":[{"login":"mitchelloharawild","id":16127127,"avatar_url":"https://avatars.githubusercontent.com/u/16127127?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchelloharawild","html_url":"https://github.com/mitchelloharawild","followers_url":"https://api.github.com/users/mitchelloharawild/followers","following_url":"https://api.github.com/users/mitchelloharawild/following{/other_user}","gists_url":"https://api.github.com/users/mitchelloharawild/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchelloharawild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchelloharawild/subscriptions","organizations_url":"https://api.github.com/users/mitchelloharawild/orgs","repos_url":"https://api.github.com/users/mitchelloharawild/repos","events_url":"https://api.github.com/users/mitchelloharawild/events{/privacy}","received_events_url":"https://api.github.com/users/mitchelloharawild/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-05-03T09:22:57Z","updated_at":"2016-12-05T06:52:09Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/robjhyndman/forecast/issues/comments/264780235","html_url":"https://github.com/robjhyndman/forecast/issues/303#issuecomment-264780235","issue_url":"https://api.github.com/repos/robjhyndman/forecast/issues/303","id":264780235,"user":{"login":"mitchelloharawild","id":16127127,"avatar_url":"https://avatars.githubusercontent.com/u/16127127?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchelloharawild","html_url":"https://github.com/mitchelloharawild","followers_url":"https://api.github.com/users/mitchelloharawild/followers","following_url":"https://api.github.com/users/mitchelloharawild/following{/other_user}","gists_url":"https://api.github.com/users/mitchelloharawild/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchelloharawild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchelloharawild/subscriptions","organizations_url":"https://api.github.com/users/mitchelloharawild/orgs","repos_url":"https://api.github.com/users/mitchelloharawild/repos","events_url":"https://api.github.com/users/mitchelloharawild/events{/privacy}","received_events_url":"https://api.github.com/users/mitchelloharawild/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T06:52:09Z","updated_at":"2016-12-05T06:52:09Z","body":"Maybe not an easy fix for `ar`, because it doesn't have support for model re-fitting, however it can be tweaked to work for any function that supports re-fitting via the model argument.\r\n\r\nThat would involve saving the modelfunction used to the stlm object (for potential later use), and then setting:\r\n```R\r\nmodelfunction <- function(x,...){return(model$modelfunction(x,model=model$model, ...))}\r\n```\r\n\r\nThat way, users can use functions that support re-fitting, and they can also write wrappers that extend `ar` to support re-fitting."}}
{"actor":{"display_login":"mitchelloharawild"}}