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"))

Arguments

x

An object.

...

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

calendar

A 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