Skip to content
Prev 62483 / 63421 Next

head.ts, tail.ts loses time

Hi, Martin et al.:
On 6/10/24 9:32 AM, Martin Maechler wrote:
Agreed.
The code I provided below for head.ts() and tail.ts() does that: I 
took the code for head.default and head.matrix, etc., computed tmx <- 
as.numeric(time(x)), and then used head(tmx) [and tail(tmx)] in "window()".


	  Thanks for your reply.
	  sg