This function is another constructor of the class TimeMap.
Usage
TimeMap.from.Dataframe(dframe, lag = 0, interpolation = splinefun)
Arguments
dframe
A data frame containing exactly two columns:
the first one is interpreted as time
lag
a scalar describing the time lag. Positive Values shift the argument of the interpolation function forward in time. (retard its effect)
interpolation
A function that returns a function the default is splinefun. Other possible values are the linear interpolation approxfun or any self made function with the same interface.
Value
this serves as a saveguard for Model which thus can check that all involved functions of time are actually defined for the times of interest