Skip to contents

Internal function used to save the dataframe at specific times in case saveat != dt in the simulation specifications.

Usage

saveat_func(df, time_col, new_times)

Arguments

df

Dataframe

time_col

Name of the time column

new_times

Vector of new times to save the dataframe at

Value

Dataframe with new times and interpolated values