Learn R Programming

dMod (version 1.0.0)

as.parvec.parframe: Select a parameter vector from a parameter frame.

Description

Obtain a parameter vector from a parameter frame.

Usage

# S3 method for parframe
as.parvec(x, index = 1, ...)

Arguments

x

A parameter frame, e.g., the output of as.parframe.

index

Integer, the parameter vector with the index-th lowest objective value.

...

not used right now

Value

The parameter vector with the index-th lowest objective value.

Details

With this command, additional information included in the parameter frame as the objective value and the convergence state are removed and a parameter vector is returned. This parameter vector can be used to e.g., evaluate an objective function.

On selection, the parameters in the parameter frame are ordered such, that the parameter vector with the lowest objective value is at index 1. Thus, the parameter vector with the index-th lowest objective value is easily obtained.