rstoolbox.tests.helper.random_frequency_matrix

rstoolbox.tests.helper.random_frequency_matrix(size, seed=None)

Generate a random frequency matrix.

Parameters:
  • size (int) – How many rows should the matrix have.
  • seed (int) – If provided, set a fixed seed.
Returns:

DataFrame