intParamValue: Int parameter value

Description Usage Arguments Value Examples

Description

Extract the value chosen in an IntParam

Usage

1
intParamValue(parameters, name)

Arguments

parameters

The parameters object (see parseParameters)

name

The name of the parameter

Value

The selected number

Examples

1
2
3
4
tmp <- tempfile(fileext = ".xml")
write('<IntParam Name="test_int">\n<Value>2</Value>\n</IntParam>', file=tmp)
parameters <- parseParameters(tmp)
intParamValue(parameters, "test_int")

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