Draw sample of group similarities of groups of given size
sample_group_sim(pop_sim, ...)# S3 method for integer
sample_group_sim(pop_sim, ...)
# S3 method for numeric
sample_group_sim(pop_sim, ...)
# S3 method for matrix
sample_group_sim(pop_sim, ...)
# S3 method for sim_index
sample_group_sim(pop_sim, ...)
# S3 method for default
sample_group_sim(pop_sim, type, group_size,
group_sim = "average", sample_size = 10000, ...)
An object representing the similarities of an indexed population of objects.
Other arguments to be passed to sample_group_sim.
Either "matrix", "sim_index" or "numeric" - the type of the pop_sim object.
Integer giving the number of members of a group.
String Either "average" or "min", determining how to calculate the similarity of a group of term sets over all pairwise combinations of group members
Number of samples to draw.
Numeric vector of random group similarities.