This function compares two or several methods using the three groups of criteria from the validation process.

1 2 3 4 | ```
ComparisonMethods(ListOutputs, ListValidationLevel1, ListValidationLevel2,
ListValidationLevel3, MyData = MyData, Plot = F,
ColorComp = c("#FF6590", "#309BFF", "#AD79FC", "#3CAB5F"),
LtyComp = rep(1, 4), AgeCrit)
``` |

`ListOutputs` |
For the comparisons of n methods, a list of n elements containing the returned value of the functions Methodn(). |

`ListValidationLevel1` |
For the comparisons of n methods, a list of n elements containing the returned value of the function ValidationLevel1() for each of the n methods. |

`ListValidationLevel2` |
For the comparisons of n methods, a list of n elements containing the returned value of the function ValidationLevel2() for each of the n methods. |

`ListValidationLevel3` |
For the comparisons of n methods, a list of n elements containing the returned value of the function ValidationLevel3() for each of the n methods. |

`MyData` |
The list returned by the AddReference() function. |

`Plot` |
If set to TRUE, a sub-directory will be created in the working directory. This sub-directory will contains png plots corresponding to the smoothed surface. |

`ColorComp` |
The color that will be used for the plots (HTML notation). For the comparisons of n methods, ColorComp is a vector of length n. |

`LtyComp` |
Vector of parameters (length n) for the lty plot parameter. |

`AgeCrit` |
Age range for the comparison of adjusted mortality and observed mortality. |

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.