Meta tags:
Headings (most frequently used words):
method, utilities, rmethodutils, description, usage, summary, of, functions, see, also, examples, methods, package, documentation, browse, packages, we, want, your, feedback,
Text of the page (most frequently used words):
the (126), class (51), #method (43), for (41), function (35), methods (33), generic (27), and (26), signature (26), classes (22), definition (22), package (20), not (20), that (19), functions (17), object (16), from (15), formal (15), call (13), arguments (13), where (13), environment (12), are (12), argument (11), true (11), fdef (11), documentation (10), used (10), objects (10), names (10), name (10), returns (10), this (9), group (9), utilities (8), with (8), value (8), can (7), packages (7), corresponding (7), definitions (7), primitive (7), default (7), code (6), list (6), create (6), use (6), when (6), optional (5), what (5), test (5), all (5), defined (5), rmethodutils (5), given (5), get (5), empty (5), recursive (5), getgroupmembers (5), supplied (5), named (5), any (5), null (5), more (4), information (4), your (4), note (4), language (4), other (4), have (4), its (4), basic (4), specified (4), explicitly (4), vector (4), non (4), methodslist (4), deprecated (4), sealed (4), using (4), getgroup (4), also (4), actual (4), but (4), error (4), mlist (4), rematchdefinition (4), called (4), directly (4), false (4), missingarg (4), normally (4), return (4), parent (4), message (4), will (4), returned (4), members (4), getgeneric (4), character (4), sys (4), support (3), should (3), find (3), inherited (3), slots (3), show (3), setmethod (3), version (3), represent (3), representation (3), generate (3), new (3), methodwithnext (3), utility (3), defunct (3), skeleton (3), elements (3), genericfunction (3), internal (3), groups (3), see (3), because (3), doprimitivemethod (3), omitted (3), assigned (3), conformmethod (3), fnames (3), mnames (3), works (3), then (3), isrematched (3), unrematchdefinition (3), since (3), symbol (3), only (3), setprimitivemethods (3), one (3), coerce (3), methodclass (3), fun (3), may (3), assignmethodsmetadata (3), getmethodsmetadata (3), embedding (2), remove (2), website (2), github (2), you (2), want (2), run (2), rdrr (2), home (2), improve (2), page (2), extra (2), builtin (2), about (2), substitutedirect (2), slot (2), showmethods (2), style (2), inheritance (2), setgeneric (2), setclass (2), super (2), extension (2), reference (2), managing (2), shell (2), associated (2), types (2), file (2), dispatch (2), methoddefinition (2), linearmethodslist (2), check (2), initialize (2), versions (2), description (2), two (2), current (2), data (2), primitives (2), don (2), correctly (2), having (2), either (2), body (2), defaultdumpname (2), assignment (2), identical (2), conform (2), some (2), subset (2), order (2), there (2), explicit (2), being (2), whether (2), possibly (2), matching (2), makes (2), calling (2), makestandardgeneric (2), makegeneric (2), addnextmethod (2), turn (2), into (2), generates (2), according (2), asmethoddefinition (2), does (2), just (2), was (2), sigtoenv (2), balancemethodslist (2), missing (2), evaluated (2), eval (2), particular (2), required (2), than (2), cachegenericsmetadata (2), cachemetadata (2), environments (2), found (2), warning (2), findunique (2), which (2), thisclass (2), methodaddcoerce (2), matchsignature (2), assign (2), otherwise (2), mlistmetaname (2), these (2), global (2), throws (2), mustfind (2), fdefault (2), def (2), frame (2), attach (2), envir (2), close, customizing, embed, read, snippets, copy, clipboard, add, following, snippet, personal, blog, ian, mutexlabs, com, issue, tracker, tweet, rdrrhq, provide, technical, individual, contact, authors, feedback, forge, bioconductor, cran, browse, online, submit, info, suggestion, looking, content, looks, wrong, special, zbasicfunslist, validity, validobject, internally, control, tracing, traceclasses, report, selection, testinheritedmethods, structures, structureclasses, envrefclass, stdrefclass, setsclass, register, old, setoldclass, save, set, actions, loading, setloadactions, specify, superclass, setis, setgroupgeneric, union, setclassunion, coercing, setas, specific, kinds, selectsuperclasses, relations, sclassextension, s4groupgeneric, contain, s3part, construct, prototype, removemethod, fields, treated, oop, refclass, rclassutils, promptmethods, promptclass, objectswithpackage, structure, nonstructure, nextmethod, plus, compatibility, methodutilities, additional, methodsupport, methods_for_s3, methods_for_nongenerics, general, methods_details, localized, based, localrefclass, languageel, unevaluated, languageclasses, issealedmethod, introduction, inheritedslotnames, manage, implicit, implicitgeneric, look, hasarg, getpackagename, getmethod, getclass, tools, genericfunctions, fix, saved, previous, fixprevious, findmethods, findclass, source, without, evalsource, environmentclass, representing, emptymethodslist, signatures, dotsmethods, creating, line, classrepresentation, including, classname, compute, adjacency, matrix, superclasses, classestoam, classes_details, combine, columns, rows, cbind2, coerced, certain, cancoerce, callgeneric, basicclasses, force, belong, exp, arith, math, ops, sub, examples, behave, ordinary, nor, provided, carried, out, dumping, conforms, lists, omits, appearing, same, appear, future, hopes, assumed, locally, determines, sets, extended, messages, supplies, purposes, valid, less, even, proper, standardgeneric, supply, finds, next, caches, promoting, obsolete, specializes, replacing, constructs, stored, knowledge, how, reverses, procedure, correspond, form, logical, indicating, rematching, constructing, flag, dynamically, initializing, onload, saveimage, suitable, select, usually, selectmethod, evalargs, methodslistselect, closer, blue, book, sense, base, implementation, beware, reliably, has, yet, been, made, fine, computations, done, beginning, resets, caching, ensuring, date, automatically, whenever, needed, example, changes, attached, detached, primarily, dispatched, rather, official, model, equivalent, generated, identify, searched, unless, string, modify, modifies, issued, visible, legal, matches, partially, completely, trailing, removed, input, single, first, always, useful, outcome, getmethods, metadata, recording, mangled, included, raw, groupmembers, generics, includes, their, well, whose, include, attribute, belongs, searching, dealt, specially, never, them, assigning, searches, top, level, adjusted, work, library, summary, valueclass, simpleinheritanceonly, argname, searchwhere, docheck, insertclassmethods, fieldnames, returnall, args, usage, most, user, browser, docs,
Text of the page (random words):
rmethodutils method utilities rdrr io find an r package r language docs run r in your browser home r documentation methods rmethodutils method utilities rmethodutils method utilities rmethodutils r documentation method utilities description utility functions to support the definition and use of formal methods most of these functions will not normally be called directly by the user usage getgeneric f mustfind false where package getgroup fdef recursive where getgroupmembers group recursive false character true getmethodsmetadata f where assignmethodsmetadata f value fdef where makegeneric f fdef fdefault group list valueclass character package signature null genericfunction null simpleinheritanceonly null makestandardgeneric f fdef generic skeleton name fdef fdefault defaultdumpname generic signature doprimitivemethod name def call sys call sys parent ev sys frame sys parent 2 conformmethod signature mnames fnames f fdef method matchsignature signature fun where findunique what message where methodaddcoerce method argname thisclass methodclass cachemetadata where attach true searchwhere as environment where docheck true cachegenericsmetadata f fdef attach true where package methods setprimitivemethods f fdef code generic mlist missingarg symbol envir parent frame eval sigtoenv signature generic rematchdefinition definition generic mnames fnames signature unrematchdefinition definition isrematched definition asmethoddefinition def signature sealed false fdef addnextmethod method f mlist optional envir insertclassmethods methods class value fieldnames returnall balancemethodslist mlist args check true deprecated since r 3 2 0 summary of functions getgeneric returns the definition of the function named f as a generic if no definition is found throws an error or returns null according to the value of mustfind by default searches in the top level environment normally the global environment but adjusted to work correctly when package code is evaluated from the function library primitive functions are dealt with specially since there is never a formal generic definition for them the value returned is the formal definition used for assigning methods to this primitive not all primitives can have methods if this one can t then getgeneric returns null or throws an error getgroup returns the groups to which this generic belongs searching from environment where the global environment normally by default if recursive true also all the group s of these groups getgroupmembers return all the members of the group generic function named group if recursive is true and some members are group generics includes their members as well if character is true returns just a character vector of the names otherwise returns a list whose elements may or may not include either names with a package attribute or actual generic functions note that members that are not defined as generic functions will not be included in the returned value to see the raw data use getgeneric group groupmembers getmethodsmetadata assignmethodsmetadata mlistmetaname utilities to get getmethodsmetadata and assign assignmethodsmetadata the metadata object recording the methods defined in a particular package or to return the mangled name for that object mlistmetaname the assign function should not be used directly the get function may be useful if you want explicitly only the outcome of the methods assigned in this package otherwise use getmethods matchsignature matches the signature object a partially or completely named subset of the signature arguments of the generic function object fun and return a vector of all the classes in the order specified by fun signature the classes not specified by signature will be any in the value but extra trailing any s are removed when the input signature is empty the returned signature is a single any matching the first formal argument so the returned value is always non empty generates an error if any of the supplied signature names are not legal that is not in the signature slot of the generic function if argument where is supplied a warning will be issued if any of the classes does not have a formal definition visible from where methodaddcoerce possibly modify one or more methods to explicitly coerce this argument to methodclass the class for which the method is explicitly defined only modifies the method if an explicit coerce is required to coerce from thisclass to methodclass findunique return the list of environments or equivalent having an object named what using environment where and its parent environments if more than one is found a warning message is generated using message to identify what was being searched for unless message is the empty string cachemetadata cachegenericsmetadata setprimitivemethods utilities for ensuring that the internal information about class and method definitions is up to date should normally be called automatically whenever needed for example when a method or class definition changes or when a package is attached or detached required primarily because primitive functions are dispatched in c code rather than by the official model the setprimitivemethods function resets the caching information for a particular primitive function don t call it directly missingarg returns true if the symbol supplied is missing from the call corresponding to the environment supplied by default environment of the call to missingarg if eval is true the argument is evaluated to get the name of the symbol to test note that missingarg is closer to the blue book sense of the missing function not that of the current r base package implementation but beware that it works reliably only if no assignment has yet been made to the argument for method dispatch this is fine because computations are done at the beginning of the call balancemethodslist used to be called from setmethod and is deprecated since r version 3 2 0 sigtoenv turn the signature a named vector of classes into an environment with the classes assigned to the names the environment is then suitable for calling methodslistselect with evalargs false to select a method corresponding to the signature usually not called directly see selectmethod saveimage flag used in dynamically initializing the methods package from onload rematchdefinition unrematchdefinition isrematched if the specified method in a call to setmethod specializes the argument list by replacing then rematchdefinition constructs the actual method stored using knowledge of how rematchdefinition works unrematchdefinition reverses the procedure if given a function or method definition that does not correspond to this form it just returns its argument isrematched returns a logical value indicating whether rematching was used when constructing a given method asmethoddefinition turn a function definition into an object of class methoddefinition corresponding to the given signature by default generates a default method with empty signature the definition is sealed according to the sealed argument addnextmethod a generic function that finds the next method for the signature of the method definition method and caches that method in the method definition promoting the class to methodwithnext note that argument mlist is obsolete and not used makegeneric makes a generic function object corresponding to the given function name optional definition and optional default method other arguments supply optional elements for the slots of class genericfunction makestandardgeneric a utility function that makes a valid function calling standardgeneric for name f works more or less even if the actual definition fdef is not a proper function that is it s a primitive or internal conformmethod if the formal arguments mnames are not identical to the formal arguments to the function fnames conformmethod determines whether the signature and the two sets of arguments conform and returns the signature possibly extended the function name f is supplied for error messages the generic function fdef supplies the generic signature for matching purposes the method assignment conforms if method and generic function have identical formal argument lists it can also conform if the method omits some of the formal arguments of the function but 1 the non omitted arguments are a subset of the function arguments appearing in the same order 2 there are no arguments to the method that are not arguments to the function and 3 the omitted formal arguments do not appear as explicit classes in the signature a future extension hopes to test also that the omitted arguments are not assumed by being used as locally assigned names or function names in the body of the method defaultdumpname the default name to be used for dumping a method doprimitivemethod do a primitive call to builtin function name the definition and call provided and carried out in the environment ev a call to doprimitivemethod is used when the actual method is a primitive because primitives don t behave correctly as ordinary functions not having either formal arguments nor a function body see also setgeneric setclass showmethods examples getgroup exp getgroup recursive true getgroupmembers arith getgroupmembers math getgroupmembers ops its sub groups methods as force an object to belong to a class basicclasses classes corresponding to basic data types callgeneric call the current generic function from a method cancoerce can an object be coerced to a certain s4 class cbind2 combine two objects by columns or rows classes s4 class documentation classes_details class definitions classestoam compute an adjacency matrix for superclasses of class classname class names including the corresponding package classrepresentation class class objects documentation using and creating on line documentation for classes and dotsmethods the use of in method signatures emptymethodslist class internal class representing empty methods list environmentclass class environment evalsource use function definitions from a source file without findclass find class definitions findmethods description of the methods defined for a generic function fixprevious fix objects saved from r versions previous to 1 8 genericfunction class generic function objects genericfunctions tools for managing generic functions getclass get class definition getmethod get or test for the definition of a method getpackagename the name associated with a given package hasarg look for an argument in the call implicitgeneric manage implicit versions of generic functions inheritedslotnames names of slots inherited from a super class initialize methods methods to initialize new objects from a class introduction basic use of s4 methods and classes is is an object from a class issealedmethod check for a sealed method or class languageclasses classes to represent unevaluated language objects languageel elements of language objects linearmethodslist class class linearmethodslist localrefclass localized objects based on reference classes methoddefinition class classes to represent method definitions methods s4 class documentation methods defunct defunct functions in package methods methods deprecated deprecated functions in package methods methods_details general information on methods methods_for_nongenerics methods for non generic functions in other packages methods_for_s3 methods for s3 and s4 dispatch method skeleton create a skeleton file for a new method methodslist methodslist objects methodslist class class methodslist defunct representation of methods methods package formal methods and classes methodsupport additional support functions for methods methodutilities utility functions for methods and s plus compatibility methodwithnext class class methodwithnext new generate an object from a class nextmethod call an inherited method nonstructure class a non structure s4 class for basic types objectswithpackage class a vector of object names with associated package names promptclass generate a shell for documentation of a formal class promptmethods generate a shell for documentation of formal methods rclassutils utilities for managing class definitions refclass objects with fields treated by reference oop style removemethod remove a method representation construct a representation or a prototype for a class rmethodutils method utilities s3part s4 classes that contain s3 classes s4groupgeneric s4 group generic functions sclassextension class class to represent inheritance extension relations selectsuperclasses super classes of specific kinds of a class setas methods for coercing an object to a class setclass create a class definition setclassunion classes defined as the union of other classes setgeneric create a generic version of a function setgroupgeneric create a group generic version of a function setis specify a superclass explicitly setloadactions set actions for package loading setmethod create and save a method setoldclass register old style s3 classes and inheritance setsclass create a class definition show show an object showmethods show all the methods for the specified function s or class signature class class signature for method definitions slot the slots in an object from a formal class stdrefclass class envrefclass structureclasses classes corresponding to basic structures substitutedirect substitutedirect testinheritedmethods test for and report about selection of inherited methods traceclasses classes used internally to control tracing validobject test the validity of an object zbasicfunslist list of builtin and special functions what can we improve the page or its content looks wrong i can t find what i m looking for i have a suggestion other extra info optional submit improve this page r package documentation rdrr io home r language documentation run r code online browse r packages cran packages bioconductor packages r forge packages github packages we want your feedback note that we can t provide technical support on individual packages you should contact the package authors for that tweet to rdrrhq github issue tracker ian mutexlabs com personal blog embedding an r snippet on your website add the following code to your website remove this copy to clipboard for more information on customizing the embed code read embedding snippets close
|