{"action":"opened","issue":{"url":"https://api.github.com/repos/boost-R/mboost/issues/35","repository_url":"https://api.github.com/repos/boost-R/mboost","labels_url":"https://api.github.com/repos/boost-R/mboost/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/boost-R/mboost/issues/35/comments","events_url":"https://api.github.com/repos/boost-R/mboost/issues/35/events","html_url":"https://github.com/boost-R/mboost/issues/35","id":147693021,"number":35,"title":"Specifying intercept models is not documented & a PITA ","user":{"login":"fabian-s","id":998541,"avatar_url":"https://avatars.githubusercontent.com/u/998541?v=3","gravatar_id":"","url":"https://api.github.com/users/fabian-s","html_url":"https://github.com/fabian-s","followers_url":"https://api.github.com/users/fabian-s/followers","following_url":"https://api.github.com/users/fabian-s/following{/other_user}","gists_url":"https://api.github.com/users/fabian-s/gists{/gist_id}","starred_url":"https://api.github.com/users/fabian-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabian-s/subscriptions","organizations_url":"https://api.github.com/users/fabian-s/orgs","repos_url":"https://api.github.com/users/fabian-s/repos","events_url":"https://api.github.com/users/fabian-s/events{/privacy}","received_events_url":"https://api.github.com/users/fabian-s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T09:40:58Z","updated_at":"2016-04-12T09:40:58Z","closed_at":null,"body":"(See boost-R/gamboostLSS#13)\r\n\r\nOne should try to interpret 1 generally as intercept. Thus instead of\r\n\r\n```\r\ncars$int <- 1\r\ngamboost(dist ~ bols(int, intercept = FALSE) + bols(..., intercept = FALSE), data = cars)\r\n```\r\none could then write\r\n\r\n```\r\ngamboost(dist ~ bols(1, intercept = FALSE) + bols(..., intercept = FALSE), data = cars)\r\n## or even better\r\ngamboost(dist ~ 1 + bols(..., intercept = FALSE), data = cars)\r\n```\r\n\r\n`~1` should then always be defined as `~bols(rep(1, nrow(data), intercept = FALSE)`."}}