Description Usage Arguments Examples
Trainer for a surmodel object based on the MEGO algorithm
| 1 | train_mego(model, niter, optimizer = "gen")
 | 
| model | surmodel object to be trained | 
| niter | integer indicating number of iterations | 
| optimizer | string one of: "gen" (genetic, default), "sa" (simulated annealing) or "ps" (particle swarm) | 
| 1 2 3 | fn <- binh
model <- build_surmodel(fn, 5, 2) %>% train_mego(1, 'sa')
plot(model)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.