lsclass: Q&D function to list all objects with the specified 'class...

Description Usage Arguments Value Author(s) See Also Examples

Description

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 classes. This function only allows searching for a single class name in a given call.

Usage

1
lsclass(type = "numeric")

Arguments

type

The name of the class you're looking for.

Value

A vector of character strings containing the names of matching objects (as would be returned by the base function ls ) .

Author(s)

Carl Witthoft carl@witthoft.com

See Also

typeof, class , lstype

Examples

1
2
3
xyzzy<-structure(vector(),class='grue')
lsclass('integer')
lsclass('grue') 


Search within the cgwtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.