[R] t(xmat)
Ahmad Abu Hammour
hammour at msn.com
Tue Sep 3 04:11:32 CEST 2002
Hi,
I have a matrix and time series "xmat". I have no problem executing any matrix functions except t(xmat) which gives the following error message. My question if "xmat" is a matrix why I can not execute this matrix function?? converting the time series and matrix into a data frame solves the problem
>dim(xmat)
[1] 98 7
> t(xmat)
Error in "tsp<-"(*tmp*, value = xtsp) : invalid time series parameters specified
> is.matrix(xmat)
[1] TRUE
> is.ts(xmat)
[1] TRUE
> is.data.frame(xmat)
[1] FALSE
Ahmad Abu Hammour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020902/31f45f7d/attachment.html
More information about the R-help
mailing list