I have the following from the package astsa in R.
data("cmort")
data("tempr")
data("part")
t <- ts(1:length(cmort))
I am trying to plot the scatterplot matrix of these variables by using:
pairs(cbind(cmort, t, part))
But I got the error error
What is this error about? Whether all the variables are ts objects and have the same frequency.