mopar_ordered {mixopt}R Documentation

Ordered variable parameter

Description

Ordered variable parameter

Usage

mopar_ordered(values, start = NULL)

Arguments

values

Values the parameter can take, in order

start

Start parameter for optimization

Value

mixopt_par list

Examples

mopar_ordered(c(1,3,5))
mopar_ordered(c('a','c'))
mopar_ordered(1:4)
mopar_ordered(4:1)
mopar_ordered(list('a', 2, 'c', sin))

[Package mixopt version 0.1.2 Index]