Learn R Programming

osmose (version 0.1.1)

getOsmoseParameter: Get a parameter from a name chain (error if not found).

Description

Get a parameter from a name chain (error if not found).

Usage

getOsmoseParameter(par, ..., keep.att = FALSE)

Arguments

par

Output of the link{readOsmoseConfiguration} function

...

String arguments

keep.att

Whether parameter attributes should be kept

Examples

Run this code
# NOT RUN {
{
   filename = system.file("extdata", "inputs/osm_all-parameters.csv", package="osmose")
   par = readOsmoseConfiguration(filename)
   getOsmoseParameter(par, "population", "seeding", "year", "max", keep.att=FALSE)
}
# }

Run the code above in your browser using DataLab