search for: ytsp

Displaying 1 result from an estimated 1 matches for "ytsp".

Did you mean: tsp
1997 Aug 25
0
R-alpha: ts problems
...warning("Not returning a time series object") } else { xtsp <- tsp(x) xtimes <- seq(from = xtsp[1], to = xtsp[2], by = 1/xtsp[3]) ytsp <- numeric(3) ytsp[1] <- xtimes[min(ind)] ytsp[2] <- xtimes[max(ind)] ytsp[3] <- (length(ind) - 1)/(ytsp[2] - ytsp[1]) tsp(y) <- ytsp }...