make_forcing_function {ubiquity} | R Documentation |
Makes Forcing Function From Times and Values
Description
Takes a list of times, values, and an interpolation method
Usage
make_forcing_function(
times,
values,
type,
output_times,
sample_delta_mult = 0.001
)
Arguments
times |
time values for the forcing function |
values |
magnitude for each time (same length of time) |
type |
string indicating the type of forcing function can be one of the following:
|
output_times |
vector of simulation output times |
sample_delta_mult |
multiplier used to control the magnitude of spacing around event times |
Value
matrix with two columns: first column is a vector of times and the second column is a vector of values
[Package ubiquity version 2.1.0 Index]