Learn R Programming

dagR (version 1.2.1)

is.in: Check if a specific numeric value occurs in a vector.

Description

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.

Usage

is.in(x, c = NULL)

Value

Boolean; TRUE if value is present, FALSE if not.

Arguments

x

A numeric value, for which the presence in a vector is to be checked.

c

A vector of numeric values.

Author

Lutz P Breitling <l.breitling@posteo.de>

See Also

eval.paths