as.list {ananke}R Documentation

Coerce to a list

Description

Coerce to a list

Usage

## S4 method for signature 'CalibratedIntervals'
as.list(x, ..., calendar = get_calendar())

Arguments

x

An object.

...

Currently not used.

calendar

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

Value

A list.

Author(s)

N. Frerebeau

See Also

Other mutators: as.data.frame(), labels(), mutators, subset()

Examples

## Calibrate multiple dates
cal <- c14_calibrate(
  values = c(5000, 4500),
  errors = c(45, 35),
  names = c("X", "Y")
)

head(as.data.frame(cal))
head(as.data.frame(cal, calendar = BP()))
head(as.data.frame(cal, calendar = NULL))

[Package ananke version 0.1.0 Index]