data.frame {ArchaeoPhases}R Documentation

Coerce to a Data Frame

Description

Coerce to a Data Frame

Usage

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

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

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

## S4 method for signature '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.

Author(s)

N. Frerebeau

See Also

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


[Package ArchaeoPhases version 2.0 Index]