Skip to content

Commit

Permalink
update m3 issue encoding utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
strainel committed Aug 17, 2019
1 parent c3050cf commit e3364a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Supports_formations/m3_stats_desc/02-rappels.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ d %>% pull (ZAU) %>% levels ()
d %>% pull (ZAU) %>% fct_drop () %>% levels ()
```

La modalité "`r levels (dat$ZAU)[1]`" a bien été supprimée.
La modalité `r iconv(levels (dat$ZAU)[1], "LATIN2", "UTF-8")` a bien été supprimée.

Pour effectuer l'opération sur l'ensemble des variables `factor` d'un `dataframe`, il faut utiliser la fonction `droplevels()` du package `base`.

Expand Down

0 comments on commit e3364a5

Please sign in to comment.