print.timeBins: Compact display of time bins

View source: R/print.timeBins.r

print.timeBinsR Documentation

Compact display of time bins

Description

Displays a compact summary of a timeBins object.

Usage

## S3 method for class 'timeBins'
print(x, ...)

Arguments

x

An object of class "timeBins".

...

Further arguments passed to or from other methods.

Details

Displays some basic summary information on a time bins object, including number of bins and their names and timespans.

Value

Nothing is directly returned, instead a text summary describing a "timeBins" object is printed to the console.

Author(s)

Graeme T. Lloyd graemetlloyd@gmail.com

Examples


# Create a time bins object:
time_bins <- matrix(
  data = c(99.6, 93.5, 93.5, 89.3, 89.3, 85.8, 85.8, 83.5, 83.5, 70.6, 70.6, 65.5),
  ncol = 2,
  byrow = TRUE,
  dimnames = list(
    c("Cenomanian", "Turonian", "Coniacian", "Santonian", "Campanian", "Maastrichtian"),
    c("fad", "lad")
  )
)

# Set class as timeBins:
class(time_bins) <- "timeBins"

# Show print.timeBins version of each included data sets:
print.timeBins(x = time_bins)

graemetlloyd/Claddis documentation built on May 9, 2024, 8:07 a.m.