Plotting the average OOB error and its 95% confidence interval as a function of the mtry parameter

1 | ```
plotOOBvsMTRY(mean_matrix, ci_matrix)
``` |

`mean_matrix` |
a 1 x p matrix where p is the number of mtry values tested. Each value represents the average OOB error obtained training multiple Random Forest models with a defined value of mtry |

`ci_matrix` |
a 2 x p matrix containing the extremes of the confidence interval of the average OOB error. |

a graphical representation of the average OOB error as a function of the mtry parameter.

Piergiorgio Palla

1 2 3 4 | ```
## data(cachexiaData)
## res <- tuneMTRY(cachexiaData, iterations = 5, maxntree = 600, mtry_length = 10, graph = F)
## l <- optimizeMTRY(res$oob)
## plotOOBvsMTRY(l$mean_matrix, l$ci_matrix)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.