stringParamValue: String parameter value

View source: R/params.R

stringParamValueR Documentation

String parameter value

Description

Extract the value chosen in an StringParam

Usage

stringParamValue(parameters, name)

Arguments

parameters

The parameters object (see parseParameters)

name

The name of the parameter

Value

The selected string

Examples

write('<StringParam Name="test_string">\n<Value>"test"</Value>\n</StringParam>', file='tmp.xml')
parameters <- parseParameters("tmp.xml")
stringParamValue(parameters, "test_string")

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