calc_residue_index: Calculate residue index using MRL list

Description Usage Arguments Value

View source: R/RcppExports.R

Description

this Rcpp function 'calc_use_mrl()' receives test values matrix and returns a numeric matrix that each value have to be divide by correspoding MRL value.

Usage

1
calc_residue_index(vm, products, mrl_map)

Arguments

vm

test values matrix of each product (row) in each drug (column)

products

character vector composed of product names, which correspond to each row in param 'vm'

mrl_map

a R object List that the product name is used as a key and the MRL standards vector on pesticides is used as a value.

Value

numeric matrix where each value have to be divided by corresponding MRL standard.


YuanchenZhu2020/antgreens documentation built on Dec. 18, 2021, 8:20 p.m.