Coerce a data frame into a bts
object, using a suitable
column as a date.
# S3 method for data.frame
as.bts(object, dateName, yearName, ...)
A data frame with one column
Character. Optional column name for a date in an understandable format.
Character. Optional column name for a year. When given, the column must be either numeric or character.
Not used.
An object with class "bts"
inheriting from
"matrix"
.