The `utilities` class is an S7 class designed to group utility functions
that are not directly tied to other specific objects in the package.
These include the functions `gentime`, `paringits`, `harmonicfit`, and `foldlc`.
Arguments
- times
A numeric vector storing the time points.
- series
A numeric vector representing the values of the time series.
- series_esd
A numeric vector representing the error standard deviations of the time series.
- paired
Data Frame with the paired datasets.
Description
This class acts as a container for standalone methods that perform independent
operations within the package. By grouping them under a single class, the package
achieves better modularity and organization, facilitating maintenance and extensibility.
Available Methods
- `gentime`: Generates time points based on a specified statistical distribution.
- `paringits`: A method for pairing irregular time series.
- `harmonicfit`: A method for fitting harmonic models to data.
- `foldlc`: A method for folding light curves in time series analysis.
Examples
# Create a utilities object