https://github.com/cran/GenAlgo
Raw File
Tip revision: 7476f7f38f6427cdb2ebc6307fe4ef95eb338de9 authored by Kevin R. Coombes on 15 October 2020, 16:40:03 UTC
version 2.2.0
Tip revision: 7476f7f
AllGenerics.R
# Copyright (C) Kevin R. Coombes, 2007-2012

###
### ALLGENERICS.R
###


if (!isGeneric("as.data.frame")) {
    setGeneric("as.data.frame",
               function(x, row.names=NULL, optional=FALSE, ...) 
                   standardGeneric("as.data.frame"))
}

if (!isGeneric("as.matrix")) {
    setGeneric("as.matrix",
               function(x, ...) standardGeneric("as.matrix"))
}

if (!isGeneric("summary")) {
    setGeneric("summary",
               function(object, ...) standardGeneric("summary"))
}

back to top