1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-11 09:41:57 +02:00

(v0.7.1.9015) Remove freq()

This commit is contained in:
2019-07-29 13:33:48 +02:00
parent 9ac5a34b36
commit 240f03a672
75 changed files with 668 additions and 2877 deletions

View File

@ -60,7 +60,17 @@ data <- WHONET %>%
mutate_at(vars(AMP_ND10:CIP_EE), as.rsi)
```
No errors or warnings, so all values are transformed succesfully. Let's check it though, with a couple of frequency tables:
No errors or warnings, so all values are transformed succesfully.
We created a package dedicated to data cleaning and checking, called the `clean` package. It gets automatically installed with the `AMR` package, so we only have to load it:
```{r lib clean, message = FALSE}
library(clean)
```
It contains the `freq()` function, to create frequency tables.
So let's check our data, with a couple of frequency tables:
```{r, results = 'asis'}
# our newly created `mo` variable