dirmeier / diffusr

Network diffusion algorithms in R.
GNU General Public License v3.0
21 stars 6 forks source link

Modify s3 methods #6

Closed dirmeier closed 7 years ago

dirmeier commented 7 years ago

Use

    method.matrix <- function(...)
    method.numeric <- function(...)

instead of checking the class in the method