Learn R Programming

IATscores (version 0.2.7)

alg2param: Convert the algorithm names to the generating parameters

Description

Starting from the algorithm names, gives the parameters that generated each algorithm as output.

Usage

alg2param(x)

Arguments

x

The name of an algorithm (string) or the name of many algorithms (vector of strings).

Value

A dataframe with four columns.

algorithm

(string). The algorithm's name given as input

P1

(string). Parameter P1, see RobustScores

P2

(string). Parameter P2, see RobustScores

P3

(string). Parameter P3, see RobustScores

P4

(string). Parameter P4, see RobustScores

Details

The algorithm names in this package follow a precise convention and are in the form "pxxxx", (where each x stands for a numbers). The first number corresponds to the value of the parameter P1 in RobustScores, the second number corresponds to the value of P2 and so on. This function allows to know the values of the parameters that generated an algorithm from the algorithm's name. Also a vector of algorithm's names can be given as input.

Examples

Run this code
# NOT RUN {
alg2param("p1231")
# }

Run the code above in your browser using DataLab