Ordered variable parameter
Examples
mopar_ordered(c(1,3,5))
#> mopar_ordered with 3 values
#> values = 1 3 5
#> start = 3
mopar_ordered(c('a','c'))
#> mopar_ordered with 2 values
#> values = a c
#> start = a
mopar_ordered(1:4)
#> mopar_ordered with 4 values
#> values = 1 2 3 4
#> start = 2
mopar_ordered(4:1)
#> mopar_ordered with 4 values
#> values = 4 3 2 1
#> start = 3
mopar_ordered(list('a', 2, 'c', sin))
#> mopar_ordered with 4 values
#> values = a 2 c .Primitive("sin")
#> start = 2