is.in {dagR} | R Documentation |
Another trivial helper function, called internally by eval.paths
.
It checks whether the specified (numeric) value is part of a specified vector of (numeric) values.
is.in(x, c = NULL)
x |
A numeric value, for which the presence in a vector is to be checked. |
c |
A vector of numeric values. |
Boolean; TRUE if value is present, FALSE if not.
Lutz P Breitling <lutz.breitling@gmail.com>
is.in(4, 1:3)==TRUE; is.in(4, 1:5)==TRUE;