Method “rmultinom” generate multinomially distributed samples
from the independent probability table, which is estimated from x
using geometric mean marginals.
The relative simplicial deviance of the original data are then compared to the generated ones.
Method “permutation” permutes the entries of x
and compares the relative simplicial deviance estimated from
the original data to the ones of the permuted data (the independence table is unchanged and originates on x
).
Method “rmultinom” should be preferred, while method “permutation” can be used for comparisons.