mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
(v0.7.1.9015) Remove freq()
This commit is contained in:
1 parent
9ac5a34b36
commit
240f03a672
75 files changed
+668
-2877
No files matched your search
+11
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user