ComparisonMethods: ComparisonMethods function

Description Usage Arguments

View source: R/S12.R

Description

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

Usage

1
2
3
4
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 May 29, 2017, 7:54 p.m.