Description Usage Arguments Value
this Rcpp function 'mapping_mrl()' construct a map object <String, NumericVector> using prduct name as key and numbers of drugs' MRL values vector of this product as value. In this case, users can easily and efficiently query MRL numeric vector with product's name.
1 | mapping_mrl(mrl, products)
|
mrl |
MRL numeric matrix of each product (row) in each drug (column) |
products |
character vector composed of product names, which correspond to each row in param 'mrl' |
std::map<String, NumericVector> in Rcpp and List in R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.