calibrateParameters: calibrateParameters

View source: R/B006_calibrateParameters.R

calibrateParametersR Documentation

calibrateParameters

Description

Takes a list of parameters and tunes them to the requirements. This includes removing shortcuts and calculations for combining units.

Usage

calibrateParameters(
  styleList,
  simplify = TRUE,
  fun = NULL,
  style = TRUE,
  classes = as.character(),
  vp = list(x = 0, y = 0),
  units = list(),
  xscale = 0:1,
  yscale = 0:1,
  useGrid = FALSE,
  additions = list()
)

Arguments

styleList

a list of parameters

simplify

logical maybe always TRUE

fun

the function

style

logical determines if the parameters are for par/gpar (TRUE) or a plotting function (FALSE)

classes

classes for plot functions

vp

the co-ordinates for the parent section

units

determines the units for co-ordinates

xscale, yscale

vector of min and max for native units

useGrid

logical

additions

a list of parameters to add to the existing parameter list.

Value

Returns a named list

Examples

print(1+1)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.