R/test.R

Defines functions test test.cor

test <- function(X, ...) {
  UseMethod("test")
}

test.cor <- function(X) {
  cat("Test.cor called\n") 
  return(1)
}


# a <- matrix(1, 2, 2)
# str(a)
# class(a)
# 
# attr(a, "class") <- "cor"
# inherits(a, "matrix")
# 
# class(a)
# Test(a)
AEBilgrau/correlateR documentation built on Nov. 15, 2019, 9:21 a.m.