# Create a regular time series object by combining data and date information

### Description

Create a regular time series object by combining measurements (data) and time (dates) information.

### Usage

1 2 |

### Arguments

`data` |
A data vector |

`dates` |
Optional input of dates for each measurement in the 'data' variable. In case the data is a irregular time series, a vector with 'dates' for each measurement can be supplied using this 'dates' variable. The irregular data will be linked with the dates vector to create daily regular time series with a frequency = 365. Extra days in leap years might cause problems. Please be carefull using this option as it is experimental. Feedback is welcome. |

`type` |
( |

. (`"10-day"`

) indicates that data is collected at a 10-day time interval of the SPOT VEGETATION (S10) product. Warning: Only use this function for the SPOT VEGETATION S10 time series, as for other 10-day time series a different approach might be required.

### Details

`bfastts`

create a regular time series

### Value

`bfastts`

returns an object of class `"ts"`

, i.e., a list with components as follows.

`zz` |
a regular |

### Author(s)

Achim Zeileis, Jan Verbesselt

### See Also

`monitor`

, `mefp`

, `breakpoints`

### Examples

1 2 3 4 5 |