inheritParameters: inheritParameters

View source: R/B004_inheritParameters.R

inheritParametersR Documentation

inheritParameters

Description

Combines parameters from two objects, for example a component and its parent layer.

Usage

inheritParameters(
  parentList,
  childList,
  classes = as.character(),
  applyShortcuts = TRUE,
  useGrid = FALSE
)

Arguments

parentList, childList

lists of parameters. In case of a clash, the childList takes precedence.

classes

list of classes

applyShortcuts

CURRENTLY ALWAYS TRUE???

useGrid

logical. Needed to apply shortcuts.

Value

Returns a list that combines parentList and childList, but resolves any conflicts in favour of the child.

Examples

print(1+1)

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