Rdocumentation
powered by
Learn R Programming
boot (version 1.2-10)
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.