sim_entity(n_categ=50, category_prefix='ctg', values=1) #equal value
#random numbers for values of abundance
sim_entity(n_categ=50, category_prefix='ctg', values=sample(1:100, replace=TRUE))
sim_entity(n_categ=50, category_prefix='ctg', values='log-normal') #equal value
Run the code above in your browser using DataLab