Ver código fonte

Paramétrage binwidth de l'histogramme d'âge

master
Maxime Wack 7 anos atrás
pai
commit
4d2b80a1e9
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app.R

+ 1
- 1
app.R Ver arquivo

@@ -173,7 +173,7 @@ server <- function(input, output, session)
data_age() %>%
ggplot() +
aes(x = Age, fill = Sexe) +
geom_histogram() +
geom_histogram(binwidth = 5) +
scale_fill_manual(values = c("Homme" = "lightblue", "Femme" = "pink")) +
scale_x_continuous(limits = c(min_age, max_age)) +
theme(axis.title = element_blank(),


Carregando…
Cancelar
Salvar