Coerce to a Data Frame

# S4 method for class 'CumulativeEvents'
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))

# S4 method for class 'ActivityEvents'
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))

# S4 method for class 'OccurrenceEvents'
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))

# S4 method for class 'TimeRange'
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))

Arguments

x

An object.

...

Further parameters to be passed to data.frame().

calendar

A aion::TimeScale object specifying the target calendar (see calendar()).

Value

A data.frame with an extra time column giving the (decimal) years at which the time series was sampled.

See also

Other mutators: bind, names(), sort(), sort.list(), subset()

Author

N. Frerebeau