data.frame: Coerce to a Data Frame

data.frameR Documentation

Coerce to a Data Frame

Description

Coerce to a Data Frame

Usage

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

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

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

Arguments

x

An object.

...

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

calendar

A 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.

Author(s)

N. Frerebeau

See Also

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


kairos documentation built on Nov. 27, 2023, 5:08 p.m.