View source: R/print.timeBins.r
print.timeBins | R Documentation |
Displays a compact summary of a timeBins object.
## S3 method for class 'timeBins'
print(x, ...)
x |
An object of class |
... |
Further arguments passed to or from other methods. |
Displays some basic summary information on a time bins object, including number of bins and their names and timespans.
Nothing is directly returned, instead a text summary describing a "timeBins"
object is printed to the console.
Graeme T. Lloyd graemetlloyd@gmail.com
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.