alg2param {IATscores} | R Documentation |
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). |
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.
Value
A dataframe with four columns.
algorithm |
(string). The algorithm's name given as input |
P1 |
(string). Parameter P1, see |
P2 |
(string). Parameter P2, see |
P3 |
(string). Parameter P3, see |
P4 |
(string). Parameter P4, see |
Author(s)
Giulio Costantini
Examples
alg2param("p1231")