Description Usage Arguments Value Author(s) Examples

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.