boolParamValue: Bool parameter value

View source: R/params.R

boolParamValueR Documentation

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

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

jdrudolph/PerseusR documentation built on Sept. 10, 2022, 3:27 p.m.