remove_ns | R Documentation |
Filter out non-significant (NS) p-values from a statistical test. Can detect automatically p-value columns
remove_ns(stat.test, col = NULL, signif.cutoff = 0.05)
stat.test |
statistical test results returned by |
col |
(optional) character specifying the column containing the p-value
or the significance information, to be used for the filtering step.
Possible values include: |
signif.cutoff |
the significance cutoff; default is 0.05. Significance
is declared at |
a data frame
# Statistical test stat.test <- PlantGrowth %>% wilcox_test(weight ~ group) # Remove ns: automatic detection of p-value columns stat.test %>% remove_ns() # Remove ns by the column p stat.test %>% remove_ns(col ="p")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.