I'm not able to figure out how the undocumented command TemporalData`DropTimes described here works. For example, I have TemporalData like
temp = TemporalData[{{1, 1}, {2, 4}, {3, 9}}]
and want to get rid of the last point, but
TemporalData`DropTimes[temp, 3]
doesn't do anything. Anyone have any ideas, either using DropTimes or otherwise?
temp = TemporalData`DropTimes[temp, 3]; temp? – kglr Jul 24 '16 at 21:57TemporalDatareduces the time specification internally to an iterator of the form{1, 3, 1}. You can check it bytemp@"UnexpandedRawTimes". Nevertheless, I have no idea yet how to make it work. – István Zachar Jul 25 '16 at 07:51