Skip to content

Commit

Permalink
initialize combined risk
Browse files Browse the repository at this point in the history
  • Loading branch information
hofnerb committed Feb 28, 2017
1 parent 0196662 commit 86ebeb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/mboostLSS.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ mboostLSS_fit <- function(formula, data = list(), families = GaussianLSS(),
iBoost <- function(niter, method) {

start <- sapply(fit, mstop)
# initialize combined_risk
combined_risk <- NA

if (method == "noncyclic") {
### noncyclical fitting ###
Expand Down

0 comments on commit 86ebeb2

Please sign in to comment.