is.in {dagR}R Documentation

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)

Arguments

x

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

c

A vector of numeric values.

Value

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

Author(s)

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

See Also

eval.paths


[Package dagR version 1.2.1 Index]