Testing Orthogonal Basis

DESCRIPTION:

Tests whether a vector of crystal names or a wavelet/cosine packet analysis object forms an orthogonal basis.

USAGE:

is.on.basis(x) 

REQUIRED ARGUMENTS:

x
any S-PLUS object. Typically a vector of 1D or 2D crystal names, or an object created by a wavelet packet analysis or cosine packet analysis function.

VALUE:

a logical vector of length two with names: "orthogonal" and "complete": "orthogonal" returns TRUE, if x is orthogonal, and FALSE otherwise; "complete" returns TRUE, if x is complete, and FALSE otherwise.