Replace a component in the xml tables by another

replace.component(
  component,
  replacement,
  what,
  sub.type = NULL,
  selection = NULL
)

Arguments

component

the model where a component will be replaced

replacement

characteristics of the replacement

what

the element to be replaced

sub.type

add information to the component

selection

the rooms where measures will be applied

Value

the model with the changes on the XML data tables due to the measures