fromtoby: Create Regular Sequence from 'from-to-by' Vector

Description Usage Arguments Details Value See Also Examples

View source: R/fromtoby.R

Description

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

Usage

1

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

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

simecol documentation built on Oct. 7, 2021, 9:20 a.m.