Learn R Programming

PerseusR (version 0.3.4)

boolParamValue: Bool parameter value

Description

Extract the value chosen in an BoolParam

Usage

boolParamValue(parameters, name)

Arguments

parameters

The parameters object (see parseParameters)

name

The name of the parameter

Value

The selected boolean

Examples

Run this code
# NOT RUN {
tmp <- tempfile(fileext = ".xml")
write('<BoolParam Name="test_bool">\n<Value>false</Value>\n</BoolParam>', file=tmp)
parameters <- parseParameters(tmp)
boolParamValue(parameters, "test_bool")
# }

Run the code above in your browser using DataLab