boolParamValue {PerseusR} | R Documentation |
Bool parameter value
Description
Extract the value chosen in an BoolParam
Usage
boolParamValue(parameters, name)
Arguments
parameters |
The parameters object (see |
name |
The name of the parameter |
Value
The selected boolean
Examples
tmp <- tempfile(fileext = ".xml")
write('<BoolParam Name="test_bool">\n<Value>false</Value>\n</BoolParam>', file=tmp)
parameters <- parseParameters(tmp)
boolParamValue(parameters, "test_bool")
[Package PerseusR version 0.3.4 Index]