View source: R/check_timeBins.R
| check_timeBins | R Documentation | 
Internal function to check timeBins object for errors.
check_timeBins(time_bins)
| time_bins | A timeBins object. | 
Internal Claddis function. Nothing to see here. Carry on.
An error message or empty vector if no errors found.
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")
  )
)
# Check that this is a valid timeBins object (will return error message as class
# is not set):
check_timeBins(time_bins = time_bins)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.