View source: R/getDescriptionStatsBy_prAddDescStats.R
prAddDescStats | R Documentation |
Add a p-value column to the results
prAddDescStats(
results,
x,
by,
statistics,
statistics.suppress_warnings,
statistics.sig_lim,
statistics.two_dec_lim,
html
)
results |
The results that we want to add the column to |
x |
If a data.frame it will be used as the data source for the variables in the |
by |
The variable that you want to split into different columns |
statistics |
Add statistics, fisher test for proportions and Wilcoxon for continuous variables. See details below for more customization. |
statistics.suppress_warnings |
Hide warnings from the statistics function. |
statistics.sig_lim |
The significance limit for < sign, i.e. p-value 0.0000312 should be < 0.0001 with the default setting. |
statistics.two_dec_lim |
The limit for showing two decimals. E.g.
the p-value may be 0.056 and we may want to keep the two decimals in order
to emphasize the proximity to the all-mighty 0.05 p-value and set this to
|
html |
If HTML compatible output should be used. If |
results with added column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.