getNumberOf {DAPAR} | R Documentation |
Returns the number of lines, in a given column, where content matches the prefix.
getNumberOf(obj, name = NULL, prefix = NULL)
obj |
An object of class |
name |
The name of a column. |
prefix |
A string |
An integer
Samuel Wieczorek
require(DAPARdata) data(Exp1_R25_pept) getNumberOf(Exp1_R25_pept, "Potential.contaminant", "+")