Specimen of the graphics that only require 1 input variable and that, up to now, are being considered by the brinton's wideplot(), longplot() and plotup() functions.

knitr::opts_chunk$set(
  message=FALSE, 
  warning=FALSE, 
  comment=NA, 
  dev='png', 
  echo=FALSE
  )
# length(unique(data$vars))/6 + 0.5
# library(dplyr)

Logical

knitr::include_graphics('figures/logical_01-1.png')
cat("lgc = c('line graph', 'point graph', 'point-to-point graph')")
knitr::include_graphics('figures/logical_02-1.png')
cat("lgc = c('tile plot', 'linerange graph')")
knitr::include_graphics('figures/logical_03-1.png')
cat("lgc = c('binned heatmap', 'bw binned heatmap', 'color binned heatmap')")
knitr::include_graphics('figures/logical_04-1.png')
cat("lgc = c('bar graph', 'bw bar graph', 'color bar graph')")

Ordered factor

knitr::include_graphics('figures/ordered_01-1.png')
cat("ord = c('line graph', 'point graph', 'point-to-point graph')")
knitr::include_graphics('figures/ordered_02-1.png')
cat("ord = c('tile plot', 'linerange graph')")
knitr::include_graphics('figures/ordered_03-1.png')
cat("lgc = c('binned heatmap', 'bw binned heatmap', 'color binned heatmap')")
knitr::include_graphics('figures/ordered_04-1.png')
cat("ord = c('bar graph', 'bw bar graph', 'color bar graph')")

Factor

knitr::include_graphics('figures/factor_01-1.png')
cat("fac = c('line graph', 'freq. reordered line graph', 'alphab. reordered line graph')")
knitr::include_graphics('figures/factor_02-1.png')
cat("fac = c('point-to-point graph', 'freq. reordered point-to-point graph', 'alphab. reordered point-to-point graph')")
knitr::include_graphics('figures/factor_03-1.png')
cat("fac = c('linerange graph', 'freq. reordered linerange graph', 'alphab. reordered linerange graph')")
knitr::include_graphics('figures/factor_04-1.png')
cat("fac = c('point graph', 'freq. reordered point graph', 'alphab. reordered point graph')")
knitr::include_graphics('figures/factor_05-1.png')
cat("fac = c('tile plot', 'freq. reordered tile plot', 'alphab. reordered tile plot')")
knitr::include_graphics('figures/factor_06-1.png')
cat("fac = c('binned heatmap', 'bw binned heatmap', 'color binned heatmap')")
knitr::include_graphics('figures/factor_07-1.png')
cat("fac = c('freq. reordered binned heatmap', 
    'bw freq. reordered binned heatmap', 
    'color freq. reordered binned heatmap')")
knitr::include_graphics('figures/factor_08-1.png')
cat("fac = c('alphab. reordered binned heatmap', 
    'bw alphab. reordered binned heatmap', 
    'color alphab. reordered binned heatmap')")
knitr::include_graphics('figures/factor_09-1.png')
cat("fac = c('bar graph', 'bw bar graph', 'color bar graph')")
knitr::include_graphics('figures/factor_10-1.png')
cat("fac = c('freq. reordered bar graph', 'bw freq. reordered bar graph', 'color freq. reordered bar graph')")
knitr::include_graphics('figures/factor_11-1.png')
cat("fac = c('alphab. reordered bar graph', 'bw alphab. reordered bar graph', 'color alphab. reordered bar graph')")

Character

knitr::include_graphics('figures/character_01-1.png')
cat("cha = c('line graph', 'freq. reordered line graph', 'alphab. reordered line graph')")
knitr::include_graphics('figures/character_02-1.png')
cat("cha = c('point-to-point graph', 'freq. reordered point-to-point graph', 'alphab. reordered point-to-point graph')")
knitr::include_graphics('figures/character_03-1.png')
cat("cha = c('linerange graph', 'freq. reordered linerange graph', 'alphab. reordered linerange graph')")
knitr::include_graphics('figures/character_04-1.png')
cat("cha = c('point graph', 'freq. reordered point graph', 'alphab. reordered point graph')")
knitr::include_graphics('figures/character_05-1.png')
cat("cha = c('tile plot', 'freq. reordered tile plot', 'alphab. reordered tile plot')")
knitr::include_graphics('figures/character_06-1.png')
cat("cha = c('binned heatmap', 'bw binned heatmap', 'color binned heatmap')")
knitr::include_graphics('figures/character_07-1.png')
cat("cha = c('freq. reordered binned heatmap', 
    'bw freq. reordered binned heatmap', 
    'color freq. reordered binned heatmap')")
knitr::include_graphics('figures/character_08-1.png')
cat("cha = c('alphab. reordered binned heatmap', 
    'bw alphab. reordered binned heatmap', 
    'color alphab. reordered binned heatmap')")
knitr::include_graphics('figures/character_09-1.png')
cat("cha = c('bar graph', 'bw bar graph', 'color bar graph')")
knitr::include_graphics('figures/character_10-1.png')
cat("cha = c('freq. reordered bar graph', 'bw freq. reordered bar graph', 'color freq. reordered bar graph')")
knitr::include_graphics('figures/character_11-1.png')
cat("cha = c('alphab. reordered bar graph', 'bw alphab. reordered bar graph', 'color alphab. reordered bar graph')")

Datetime

knitr::include_graphics('figures/datetime_01-1.png')
cat("dtt = c('line graph', 'stepped line graph')")
knitr::include_graphics('figures/datetime_02-1.png')
cat("dtt = c('point-to-point graph', 'stepped point-to-point graph')")
# gridExtra::grid.arrange(brinton::plotup(flights_dt50, "departure", "point graph", output = 'plots pane'),
#                         heights=grid::unit(c(2.4), c("in")),
#                         ncol=5)
knitr::include_graphics('figures/datetime_05-1.png')
cat("dtt = c('point graph')")
knitr::include_graphics('figures/datetime_03-1.png')
cat("dtt = c('binned heatmap', 'bw binned heatmap', 'color binned heatmap')")
knitr::include_graphics('figures/datetime_04-1.png')
cat("dtt = c('bw heatmap', 'color heatmap')")

Numeric

knitr::include_graphics('figures/numeric_01-1.png')
cat("num = c('area graph')")
knitr::include_graphics('figures/numeric_17-1.png')
cat("num = c('stepped area graph', 'bw stepped area graph', 'color stepped area graph')")
knitr::include_graphics('figures/numeric_18-1.png')
cat("num = c('seq. stripe graph', 'bw seq. stripe graph', 'color seq. stripe graph')")
knitr::include_graphics('figures/numeric_02-1.png')
cat("num = c('line graph', 'stepped line graph')")
knitr::include_graphics('figures/numeric_16-1.png')
cat("num = c('point-to-point graph', 'stepped point-to-point graph')")
knitr::include_graphics('figures/numeric_03-1.png')
cat("num = c('point graph', 'bw point graph', 'color point graph')")
knitr::include_graphics('figures/numeric_04-1.png')
cat("num = c('binned point graph', 'bw binned point graph', 'color binned point graph')")
knitr::include_graphics('figures/numeric_05-1.png')
cat("num = c('point graph with trend line', 'bw point graph with trend line', 'color point graph with trend line')")
knitr::include_graphics('figures/numeric_06-1.png')
cat("num = c('binned heatmap', 'bw binned heatmap', 'color binned heatmap')")
knitr::include_graphics('figures/numeric_15-1.png')
cat("num = c('bw heatmap', 'color heatmap')")
knitr::include_graphics('figures/numeric_07-1.png')
cat("num = c('stripe graph', 'bw stripe graph', 'color stripe graph')")
knitr::include_graphics('figures/numeric_08-1.png')
cat("num = c('binned stripe graph', 'binned stripe graph', 'binned stripe graph')")
knitr::include_graphics('figures/numeric_09-1.png')
cat("num = c('bar graph', 'bw bar graph', 'color bar graph')")
knitr::include_graphics('figures/numeric_10-1.png')
cat("num = c('histogram', 'bw histogram', 'color histogram')")
knitr::include_graphics('figures/numeric_11-1.png')
cat("num = c('freq. polygon')")
knitr::include_graphics('figures/numeric_12-1.png')
cat("num = c('density plot', 'filled density plot')")
knitr::include_graphics('figures/numeric_13-1.png')
cat("num = c('violin plot', 'filled violin plot')")
knitr::include_graphics('figures/numeric_14-1.png')
cat("num = c('box plot', '3 uniaxial', 'qq plot')")
knitr::include_graphics('figures/numeric_19-1.png')
cat("num = c('ecdf plot', 'point ecdf plot', 'stepped ecdf plot')")


sciencegraph/brinton documentation built on Jan. 27, 2023, 12:07 a.m.