The default method,, uses the time series method if x is a time series, and otherwise coerces x to a data frame and calls the data frame method. is the data frame method. If x is not a data frame, it is coerced to one, which must have a nonzero number of rows.