Break data
break_data.Rd
Splits a database according to one (or more) date
Arguments
- x
a
ts
ormts
object to split- break_dates
the date(s) at which you want to divide the data
- left
logical
. By default set toTRUE
, i.e. the breakdate is the end date of each subcolumn- names
optional vector containing the names of the variables used to build the splitted data. By default the function try to guess the names from the
x
parameter.- ...
other unused arguments