Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

boot (version 1.2-8)

const: Test for Constant

Description

Function checks if a numeric vector or matrix is constant to within a specified tolerance.

Usage

const(w, eps=1e-08)

Arguments

w
The object to be tested
eps
The tolerance required for comparisons.

Value

  • Logical value

Details

Subtracts the mean from each element and then checks that all the remainders are within eps of 0.