1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 20:02:04 +02:00

Update freq function

This commit is contained in:
uscloud
2018-05-22 16:34:22 +02:00
parent 0d80647d41
commit dcc26dd942
71 changed files with 26 additions and 28 deletions

0
vignettes/.gitignore vendored Normal file → Executable file
View File

0
vignettes/freq.R Normal file → Executable file
View File

4
vignettes/freq.Rmd Normal file → Executable file
View File

@ -105,7 +105,7 @@ So for example, the above frequency table quickly shows the median age of patien
Frequencies of factors will be sorted on factor level instead of item count by default. This can be changed with the `sort.count` parameter. Frequency tables of factors always show the factor level as an additional last column.
`sort.count` is `TRUE` by default, except for factors. Compare this default behaviour:
`sort.count` is `TRUE` by default, except for factors. Compare this default behaviour...
```{r, echo = TRUE}
septic_patients %>%
@ -113,7 +113,7 @@ septic_patients %>%
freq()
```
To this, where items are now sorted on item count:
... with this, where items are now sorted on count:
```{r, echo = TRUE}
septic_patients %>%