R/dccm.R

Defines functions `dccm`

`dccm` <-
function(x, ...) {
  if(inherits(x, "matrix")) {
    class(x) <- c("matrix", "xyz")
    UseMethod("dccm", x)
  }
  else if(inherits(x, "array")) {
   class(x) <- c("matrix", "mean")
   UseMethod("dccm", x)
 }
  else 
    UseMethod("dccm")
}

Try the bio3d package in your browser

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

bio3d documentation built on Oct. 27, 2022, 1:06 a.m.