Learn R Programming

ananke (version 0.1.0)

as.list: Coerce to a list

Description

Coerce to a list

Usage

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

Value

A list.

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.

Author

N. Frerebeau

See Also

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

Examples

Run this code
## 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))

Run the code above in your browser using DataLab