Skip to contents

Coerce to a Data Frame

Usage

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

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

# S4 method for class 'IncrementTest'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

An object.

...

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

calendar

An aion::TimeScale object specifying the target calendar (see calendar()). If NULL, rata die are returned.

row.names, optional

Currently not used.

Value

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

See also

Other mutators: mutators, series(), subset()

Author

N. Frerebeau