is.attribs: Check whether the param is an attribute or a node

Description Usage Arguments Value

View source: R/xml_utilities.R

Description

Check whether the param being changed by LHS.scenarios or xml.cond.replacement is an attribute or a node. This function is used internally by HexSimR.

Usage

1
2
3
4
5
6
is.attribs(
  attrib,
  param_node_attribute,
  param_node_identifier,
  param_identifier
)

Arguments

attrib

Whether the identifier is an attribute

param_node_attribute

Whether the param_node identifier is an attribute

param_node_identifier

Whether param_node has an identifier

param_identifier

Whether the param has an identifier (it is assumed this is an attribute)

Value

A logical vector with the Xpathof length=1


carlopacioni/HexSimR documentation built on Nov. 28, 2020, 4:12 p.m.