OptimisedClasses {HYPEtools} | R Documentation |
Get optimized classes from an imported optpar.txt file
Description
OptimisedClasses
checks which classes (land use or soil) of parameters in an imported optpar list are actually
optimized, i.e. have a min/max range larger than zero.
Usage
OptimisedClasses(x)
Arguments
x |
list with named elements, as an object returned from |
Details
OptimisedClasses
allows to quickly check which classes of parameters in an optpar.txt file are actually optimized
during a HYPE optimization run. The function compares min and max values in the pars
element of an imported HYPE
optpar.txt file to identify those.
Value
OptimisedClasses
returns a named list with one vector element for each parameter found in x
. List element
names are HYPE parameter names. Each vector contains the optimized class numbers for the respective parameter.
Examples
te <- ReadOptpar(filename = system.file("demo_model", "optpar.txt", package = "HYPEtools"))
OptimisedClasses(te)
[Package HYPEtools version 1.6.2 Index]