fromtoby {simecol} | R Documentation

## Create Regular Sequence from 'from-to-by' Vector

### Description

This function creates a sequence from named vectors with the names `from`, `to` and `by`.

### Usage

    fromtoby(times)

### Arguments

`times` | A named vector with the names `from`, `to` and `by`.

### Details

Named vectors with `from`, `to` and `by` can be used in simecol to specify time steps.

### Value

The appropriate vector with a sequence, generated by `seq`.

### See Also

`seq`

### Examples

    times <- c(from=1, to=5, by=0.1)
    fromtoby(times)

[Package simecol version 0.6-9 Index]