powered by
This function creates a sequence from named vectors with the names from, to and by.
from
to
by
fromtoby(times)
A named vector with the names from, to and by.
The appropriate vector with a sequence, generated by seq.
seq
Named vectors with from, to and by can be used in simecol to specify time steps.
# NOT RUN { times <- c(from=1, to=5, by=0.1) fromtoby(times) # }
Run the code above in your browser using DataLab