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

### Description

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

### Usage

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

### Arguments

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

### Value

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

### Author(s)

Piergiorgio Palla

### Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.