View source: R/fCheckforQCFlags.R
Assigns NA to values that match a quality check flag threshold. For example, if the user specifies 'flag = c(2:3)', this function will assign NAs to any rows where the qc flag is either 2 or 3.
1 | fCheckforQCFlags(y, qc_col, flag)
|
y |
a numeric vector of data. |
qc_col |
a numeric vector containing qc flag values (0 = measured, 1 = good gapfill, 2 = okay gapfill, 3 = poor gapfill). |
flag |
a user-specified qc threshold. All data that match this qc threshold are assigned a value of NA. If no qc value is available, the original data are retained. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.