Package index
-
new_class()
new_object()
- Define a new S7 class
-
new_generic()
S7_dispatch()
- Define a new generic
-
new_union()
- Define a class union
-
`method<-`()
- Register an S7 method for a generic
-
S7_inherits()
check_is_S7()
- Does this object inherit from an S7 class?
-
validate()
valid_eventually()
valid_implicitly()
- Validate an S7 object
-
new_property()
- Define a new property
-
prop()
`prop<-`()
`@`()
- Get/set a property
-
prop_names()
prop_exists()
- Property introspection
-
props()
`props<-`()
set_props()
- Get/set multiple properties
-
S7_data()
`S7_data<-`()
- Get/set underlying "base" data
-
convert()
- Convert an object from one type to another
-
class_missing
- Dispatch on a missing argument
-
class_any
- Dispatch on any class
-
method()
- Find a method for an S7 generic
-
method_explain()
- Explain method dispatch
-
super()
- Force method dispatch to use a superclass
-
S7_class()
- Retrieve the S7 class of an object
Packages
Functions needed when using S7 within a package. See vignette("packages")
for more details.
-
methods_register()
- Register methods in a package
-
new_external_generic()
- Generics in other packages
Compatibility
These tools provide a layer of compatibility between S7 and S3 classes, S4 classes, and base types. See vignette("compatibility")
for more details.
-
class_logical
class_integer
class_double
class_complex
class_character
class_raw
class_list
class_expression
class_name
class_call
class_function
class_environment
class_numeric
class_atomic
class_vector
class_language
- S7 wrappers for base types
-
class_factor
class_Date
class_POSIXct
class_POSIXlt
class_POSIXt
class_data.frame
class_formula
- S7 wrappers for key S3 classes
-
new_S3_class()
- Declare an S3 class
-
S4_register()
- Register an S7 class with S4