Description Usage Arguments Value Author(s) See Also
The function appends for each row the smallest ratio DT1/DT2 in the column ratio_smallest.
The name of the column which contained the smallest ratio is appended in the column ratio_smallest_Elem.
This function is basically a sub-function for the function Correction.AdheringParticles
.
1 | ratio_append_smallest(Ratios, vars = NULL)
|
Ratios |
list, data.frame or data.table, which is the output after using the function |
vars |
optional, character vector of column names of DT1 and DT2, default is function |
list with [[1]] being the data set from the input with one column added containing the smallest ratio of all variables given in vars
.
If the input was a list with one element named "ratios_error" the returned list contains a second element [[2]] "ratios_error" also with the appended columns.
Solveig Pospiech
Other ratio functions: Correction.AdheringParticles
,
preparationDT2
, ratioDT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.