search for: coercemethods

Displaying 3 results from an estimated 3 matches for "coercemethods".

2008 Aug 27
1
S4 coercion
..."\n")), domain = NA, call. = FALSE) 10: .findInheritedMethods(signature, fdef, mtable = allmethods, table = mlist, useInherited = useInherited, verbose = verbose) 9: selectMethod("coerce", sig, optional = TRUE, c(from = TRUE, to = FALSE), fdef = coerceFun, mlist = coerceMethods) 8: as(obj, "integer") 7: isIdCurrent(con) 6: postgresqlQuickSQL(conn, statement, ...) 5: dbGetQuery(con, paste("SELECT tbl FROM Meta ", where, ";")) 4: dbGetQuery(con, paste("SELECT tbl FROM Meta ", where, ";")) 3: TSdbi:::TSdeleteSQL(serIDs = se...
2007 Apr 15
0
as() creates invalid entries in methods list?
...erceMethod(asMethod, sig, FALSE) - } } } if(is.null(asMethod) && extends(Class, thisClass)) { @@ -54,6 +51,10 @@ as <- fdef = coerceFun, mlist = coerceMethods) inherited <- TRUE + } else { + if(canCache) { # make into method definition + asMethod <- .asCoerceMethod(asMethod, sig, FALSE) + } } ## cache in the coerce function's environment...
2015 May 28
3
S4 inheritance and old class
Hey everyone, I would like to develop a package using S4 classes. I have to define several S4 classes that inherits from each others as follow: # A <- B <- C <- D I also would like to define .DollarNames methods for these class so, if I have understood well, I also have to define an old class as follow: # AOld <- A <- B <- C <- D setOldClass(Classes = "AOld")