Learn R Programming

ArchaeoPhases (version 2.1.0)

data.frame: Coerce to a Data Frame

Description

Coerce to a Data Frame

Usage

# S4 method for CumulativeEvents
as.data.frame(x, ..., calendar = get_calendar())

# S4 method for ActivityEvents as.data.frame(x, ..., calendar = get_calendar())

# S4 method for OccurrenceEvents as.data.frame(x, ..., calendar = get_calendar())

# S4 method for TimeRange as.data.frame(x, ..., calendar = get_calendar())

Value

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

Arguments

x

An object.

...

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

calendar

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

Author

N. Frerebeau

See Also

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