This function is another constructor of the class TimeMap.
此功能的另一个构造函数的类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.
一个函数,返回一个函数默认是splinefun的。其他可能的值是的线性插值approxfun或任何自制的函数具有相同的接口。
值----------Value----------
An object of class TimeMap that contains the interpolation function and the limits of the time range where the function is valid. Note that the limits change according to the time lag
一个目的类TimeMap包含内插函数和的时间范围的限制,其中的功能是有效的。请注意,限制更改根据时间滞后
(作者)----------Author(s)----------
Carlos A. Sierra <csierra@bgc-jena.mpg.de>, Markus Mueller <mamueller@bgc-jena.mpg.de>