weights
A vector of probability weights to assign to each face of the die; if unspecified, it defaults to a fair die with weights $1/N$. If specified, its lenght must obviously be equals to the number of faces and all the single weights must sum up to 1.