Coerce to a Data Frame
# S4 method for CumulativeEvents
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))
# S4 method for ActivityEvents
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))
# S4 method for OccurrenceEvents
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))
# S4 method for TimeRange
as.data.frame(x, ..., calendar = getOption("ArchaeoPhases.calendar"))
An object.
Further parameters to be passed to data.frame()
.
A TimeScale
object specifying the target calendar
(see calendar()
).
A data.frame
with an extra time
column giving the (decimal) years at
which the time series was sampled.