Learn R Programming

kairos (version 2.1.1)

data.frame: Coerce to a Data Frame

Description

Coerce to a Data Frame

Usage

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

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

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

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

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

row.names, optional

Currently not used.

Author

N. Frerebeau

See Also

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