isit {joker}R Documentation

Is it?

Description

A set of functions that check whether an object has the desired characteristics.

Usage

is_whole(x, tol = .Machine$double.eps^0.5)

is_atvec(x)

is_numatvec(x)

is_nummat(x)

is_numarray(x)

is_symmetric(x)

is_pd(x)

is_pos(x)

is_integer(x)

is_natural(x)

Arguments

x

numeric vector or matrix.

tol

numeric. The tolerance for a numeric to be considered a whole number.

Value

logical. TRUE or FALSE, depending on whether the object satisfies the checks that define the characteristic.

Functions


[Package joker version 0.14.2 Index]