This function returns the complement of a numeric or integer vector or matrix. This may be suitable as the
matrix_scaling_fun() argument for gsnPareNetGenericHierarchic() when being used with such distance metrics
as the Jaccard Index or Szymkiewicz–Simpson Overlap Coefficients to transform them into something more approximating a
distance in behavior.
complement(x)The complement of the x argument, equal to \(1 - x\).
A numeric vector or matrix.
This function also sets matrix or vector attributes appropriately for negation of the input.