R/as.strat.column.R

"as.strat.column" <-
function(x){
  class(x) <- 'strat.column'
  if(is.strat.column(x)){
    return(x)
  }else{
    stop('x seems to lack a valid count matrix and cannot be coerced to a strat.column')
  }
} # End of function

Try the stratigraph package in your browser

Any scripts or data that you put into this service are public.

stratigraph documentation built on May 30, 2017, 12:31 a.m.