pval_star | R Documentation |
takes a vector of pvalues and values and adds star demarcation depending on the p values given
pval_star(
pvals,
starmat,
vec_return = FALSE,
correction = "none",
digs = "none"
)
pvals |
a vector of p values used to determine the demarcation to apply |
starmat |
a vector of values to which demarcation (e.g. '*') will be applied. if this is not supplied then the demarcation will be applied to the pvalues supplied in pvals |
vec_return |
boolean indcating whether to return a vector instaed of a data frame. default is FALSE |
correction |
switch indicating whether a p.value correction for multiple comparisons should be applied. this uses stats::p.adjust and takes any of those types. default is 'none' |
digs |
the number of digits to round the values to. default is 'none' indicating no rounding |
pval_star_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.