Ver código fonte

Tweak font sizes

pull/22/head
Kirill Müller 7 anos atrás
pai
commit
b61fe21569
6 arquivos alterados com 155 adições e 155 exclusões
  1. +1
    -1
      R/tidyr_spread_gather.R
  2. BIN
      images/static/png/tidyr-gather.png
  3. BIN
      images/static/png/tidyr-spread.png
  4. +83
    -83
      images/static/svg/tidyr-gather.svg
  5. +71
    -71
      images/static/svg/tidyr-spread.svg
  6. BIN
      images/tidyr-spread-gather.gif

+ 1
- 1
R/tidyr_spread_gather.R Ver arquivo

@@ -67,7 +67,7 @@ sg_data <- bind_rows(
mutate(
label = ifelse(value %in% setdiff(colnames(wide), "id"), "key", label),
label = ifelse(value %in% c("key", "val"), "zzz", label),
.text_size = ifelse(grepl("label", .id), 8, 12)
.text_size = ifelse(grepl("label", .id) | .y == 0, 8, 12)
) %>%
arrange(label, .id, value) %>%
mutate(frame = factor(frame, labels = c('spread(long, key, val)', 'gather(wide, key, val, x:z)'))) %>%

BIN
images/static/png/tidyr-gather.png Ver arquivo

Antes Depois
Largura: 1999  |  Altura: 1999  |  Tamanho: 40KB Largura: 2100  |  Altura: 2100  |  Tamanho: 40KB

BIN
images/static/png/tidyr-spread.png Ver arquivo

Antes Depois
Largura: 1999  |  Altura: 1999  |  Tamanho: 32KB Largura: 2100  |  Altura: 2100  |  Tamanho: 32KB

+ 83
- 83
images/static/svg/tidyr-gather.svg
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 71
- 71
images/static/svg/tidyr-spread.svg
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


BIN
images/tidyr-spread-gather.gif Ver arquivo

Antes Depois
Largura: 480  |  Altura: 480  |  Tamanho: 904KB Largura: 480  |  Altura: 480  |  Tamanho: 893KB

Carregando…
Cancelar
Salvar