## extracted from existing NAMESPACE files in Dec 2003 .knownS3Generics <- local({ ## include the S3 group generics here baseGenerics <- c("Math", "Ops", "Summary", "Complex", "as.character", "as.data.frame", "as.matrix", "as.vector", "labels", "print", "solve", "summary", "t") utilsGenerics <- c("edit", "str") graphicsGenerics <- c("contour", "hist", "identify", "image", "lines", "pairs", "plot", "points", "text") statsGenerics <- c( "add1", "AIC", "anova", "biplot", "coef", "confint", "deviance", "df.residual", "drop1", "extractAIC", "fitted", "formula", "logLik", "model.frame", "model.matrix", "predict", "profile", "qqnorm", "residuals", "se.contrast", "terms", "update", "vcov") tmp <- rep.int(c("base", "utils", "graphics", "stats"), c(length(baseGenerics), length(utilsGenerics), length(graphicsGenerics), length(statsGenerics))) names(tmp) <- c(baseGenerics, utilsGenerics, graphicsGenerics, statsGenerics) tmp })