check_timeBins {Claddis} | R Documentation |
Check timeBins object for errors
Description
Internal function to check timeBins object for errors.
Usage
check_timeBins(time_bins)
Arguments
time_bins |
A timeBins object. |
Details
Internal Claddis function. Nothing to see here. Carry on.
Value
An error message or empty vector if no errors found.
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")
)
)
# Check that this is a valid timeBins object (will return error message as class
# is not set):
check_timeBins(time_bins = time_bins)
[Package Claddis version 0.7.0 Index]