ComparisonMethods: ComparisonMethods function

View source: R/S12.R

ComparisonMethodsR Documentation

ComparisonMethods function

Description

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

Usage

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

Arguments

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.


ELT documentation built on Aug. 29, 2023, 9:07 a.m.