median:code01
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| median:code01 [2026/03/10 03:09] – hkimscil | median:code01 [2026/03/10 03:31] (current) – hkimscil | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | + | < | |
| - | $$ \text{median} = \frac {(20 + 21)}{2} $$ | + | a <- c(104, 19, 20, 19, 20, 100, 20, 21, 21, 24) |
| - | + | sort(a) | |
| + | print(a) | ||
| + | median(a) | ||
| + | mean(a) | ||
| + | </ | ||
median/code01.1773112166.txt.gz · Last modified: by hkimscil
