You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(mboost)
data <- data.frame( y = rep(0:1, each = 6),
x = rep(0:1, 6))
model <- mboost(y ~ bols(x), data = data, control = boost_control(mstop = 5) )
cross <- cvrisk(model, grid = 0:5)
plot(cross)
To fix it, one would only have to store mstops <- attr(x, "mstop") in advance and replace it bellow in
The x-axis ticks are not labeled correctly as the attributes of the cvrisk-object x are dropped
as one can see for instance in this example:
To fix it, one would only have to store
mstops <- attr(x, "mstop")
in advance and replace it bellow inThe text was updated successfully, but these errors were encountered: