boolParamValue: Bool parameter value

Description Usage Arguments Value Examples

Description

Extract the value chosen in an BoolParam

Usage

1
boolParamValue(parameters, name)

Arguments

parameters

The parameters object (see parseParameters)

name

The name of the parameter

Value

The selected boolean

Examples

1
2
3
4
tmp <- tempfile(fileext = ".xml")
write('<BoolParam Name="test_bool">\n<Value>false</Value>\n</BoolParam>', file=tmp)
parameters <- parseParameters(tmp)
boolParamValue(parameters, "test_bool")

PerseusR documentation built on May 2, 2019, 6:52 a.m.