median.r | R Documentation |
estimate correlation coefficient from median, minimum and max. see polanin & snilstveit, 2016
## S3 method for class 'r'
median(median1, median2, min1, max1, min2, max2, n1, n2)
median1 |
the median for group 1 |
median2 |
the median for group 2 |
min1 |
the minimum for group 1 |
max1 |
the maximum for group 1 |
min2 |
the minimum for group 2 |
max2 |
the maximum for group 2 |
n1 |
the cell size for group 1 |
n2 |
the cell size for group 2 |
median.r(61, 2, -11, 516, -10, 2159, 26, 52)
dat %>% mutate (r_from_medianminmax = median.r(stress_median, control_median, stress_minimum, control_minimum2, stress_maximum, control_maximum, stress_n, control_n)) -> dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.