lsclass | R Documentation |
class attribute
.
This is one of the author's collection of ls*
Q&D functions. Since anyone can define a new class at any time, there is no predefined set of legal or illegal class names. Remember that an object
can have multiple class
es. This function only allows searching for a single class name in a given call.
lsclass(type = "numeric")
type |
The name of the class you're looking for. |
A vector of character strings containing the names of matching objects (as would be returned by the base function ls
) .
Carl Witthoft carl@witthoft.com
typeof
, class
, lstype
xyzzy<-structure(vector(),class='grue')
lsclass('integer')
lsclass('grue')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.