Learn R Programming

c14bazAAR (version 1.2.0)

c14_date_list: c14_date_list

Description

The c14_date_list is the central data structure of the c14bazAAR package. It's a tibble with set of custom methods and variables. Please see the variable_reference table for a description of the variables. Further available variables are ignored. If an object is of class data.frame or tibble (tbl & tbl_df), it can be converted to an object of class c14_date_list. The only requirement is that it contains the essential columns c14age and c14std. The as function adds the string "c14_date_list" to the classes vector of the object and applies order_variables(), enforce_types() and the helper function clean_latlon() to it.

Usage

as.c14_date_list(x, ...)

is.c14_date_list(x, ...)

# S3 method for c14_date_list format(x, ...)

# S3 method for c14_date_list print(x, ...)

# S3 method for c14_date_list plot(x, ...)

Arguments

x

an object

...

further arguments passed to or from other methods

Examples

Run this code
# NOT RUN {
as.c14_date_list(data.frame(c14age = c(2000, 2500), c14std = c(30, 35)))
is.c14_date_list(5) # FALSE
is.c14_date_list(example_c14_date_list) # TRUE

print(example_c14_date_list)
plot(example_c14_date_list)

# }

Run the code above in your browser using DataLab