data-raw/parameters.R

#### SE and CP plot parameters ####
## general
.cols_SE = c(spc = colors()[123], ref = colors()[238])
.cols_div = colors()[395]
.cols_CP = c(
  exponential = rgb(0.80, 0.38, 0.56),
  weibull = rgb(1.00, 0.76, 0.15),
  loglogistic = rgb(0.00, 1.00, 1.00),
  lognormal = rgb(0.00, 0.41, 0.55))
# special graphics parameters
.par_M = list(mar = c(4, 5, 2, 2), fig = c(0, 1, 0, 1), oma = c(0, 0, 0, 0),
  mfrow = c(1, 1))
.par_gGeneric = list(fig = c(0, 1, 0, 1), mfrow = c(1, 1))
.par_splits = list(mar = c(0, 0, 0.5, 0.5), oma = c(6, 5.5, 4, 4))
.par_default = list(mfrow = c(1, 1), mar = c(5.1, 4.1, 4.1, 2.1),
  oma = c(0, 0, 0, 0), fig = c(0, 1, 0, 1), cex = 1)
# inches in the GUI, simply relative in command-line:
.panel_H = 2.5 
.panel_W = 3
.box_H = 4
.header = 1.7
.buffer = 1.5
.footer = 1.4
## GUI
.pointsize = 14
.res = 100
usethis::use_data(
  .cols_CP,
  .cols_SE,
  .cols_div,
  .panel_H,
  .panel_W,
  .box_H,
  .header,
  .buffer,
  .footer,
  .par_default,
  .par_gGeneric,
  .par_M,
  .par_splits,
  .pointsize,
  .res,
  internal = TRUE, overwrite = TRUE)
ddalthorp/GenEst documentation built on June 4, 2023, 1 a.m.