`as.matrix` will convert a data frame to a matrix. `as.data.frame` will do the opposite conversion.

`ts` will convert a vector, matrix or data frame to a time series object.

So I wonder why `as.` appear in some functions' names, and not in the others? Thanks!