View source: R/get_number_of_decimals.R
get_number_of_decimals | R Documentation |
A simple convention for the determination of the appropriate number of decimals will be applied, e.g., n
< 100: no decimal
< 1000: 1 decimals
> 1001: 2 decimals
get_number_of_decimals(n)
n |
Number of observations (e.g., participants in a study) |
Integer the appropriate number of decimals, based on sample size (n)
Bjoern Buedenbender
get_number_of_decimals(n = 153)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.