This function returns the negative 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.
negative(x)
The negative of the x argument, equal to \(- x\).
A numeric vector or matrix.
This function also sets matrix or vector attributes appropriately for negation of the input.