get_sim_p | R Documentation |
p-value of group similarity, calculated by estimating the proportion by random sampling of groups the same size as group
which have at least as great group similarity than does group
.
get_sim_p(pop_sim, ...)
## S3 method for class 'integer'
get_sim_p(pop_sim, ...)
## S3 method for class 'numeric'
get_sim_p(pop_sim, group, ...)
## S3 method for class 'matrix'
get_sim_p(pop_sim, group, ...)
## S3 method for class 'sim_index'
get_sim_p(pop_sim, group, ...)
## Default S3 method:
get_sim_p(
pop_sim,
group,
type,
min_its = 1000,
max_its = 1e+05,
signif = 0.05,
log_dismiss = log(1e-06),
group_sim = "average",
...
)
pop_sim |
An object representing the similarities of an indexed population of objects. |
... |
Arguments for |
group |
Character or integer vector specifying names/indices of subgroup for which to calculate a group similarity p-value. |
type |
Either "matrix", "sim_index" or "numeric" - the type of the |
min_its |
Minimum number of simulated group similarities to calculate |
max_its |
Maximum number of simulated group similarities to calculate |
signif |
Threshold p-value of statistical significance |
log_dismiss |
Threshold of log probability, below which to trigger return of current estimated p-value |
group_sim |
String Either "average" or "min", determining how to calculate the similarity of a group of term sets over all pairwise combinations of group members |
p-value.
get_sim
sample_group_sim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.