Use this method to assign weights to the variables of a polynomial ring.
The object setWeights is a method function.
The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/HighestWeights/doc.m2:96:0.