Learn R Programming

INLAtools (version 0.0.8)

is.zero: Define the is.zero method

Description

Define the is.zero method

Usage

is.zero(x, tol)

# S3 method for default is.zero(x, tol)

# S3 method for matrix is.zero(x, tol)

# S3 method for Matrix is.zero(x, tol)

Value

logical

Arguments

x

an R object

tol

numeric to be used as (absolute) tolerance. if missing (default) it will consider x==0.

Methods (by class)

  • is.zero(default): The is.zero.default definition

  • is.zero(matrix): The is.zero.matrix definition

  • is.zero(Matrix): The is.zero.Matrix definition