Description Usage Arguments Details Value See Also Examples
Create templates for use by alike
. Currently somewhat
experimental; behavior may change in future.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | abstract(x, ...)
## S3 method for class 'data.frame'
abstract(x, ...)
## Default S3 method:
abstract(x, ...)
## S3 method for class 'array'
abstract(x, ...)
## S3 method for class 'matrix'
abstract(x, ...)
## S3 method for class 'list'
abstract(x, ...)
## S3 method for class 'lm'
abstract(x, ...)
## S3 method for class 'environment'
abstract(x, ...)
|
x |
the object to abstract |
... |
arguments for methods that require further arguments |
abstract
is intended to create templates for use by
alike
. The result of abstraction is often a partially
specified object. This type of object may not be suited for use in typical
R computations and may cause errors (or worse) if you try to use them as
normal R objects.
There is no guarantee that the abstract
ed object is suitable for use
as a template to alike
as is. You may need to modify it further so
that it suits your purposes.
abstract
is an S3 generic. The default method will
dispatch on implicit classes, so if you attempt to abstract
an object
without an explicit abstract
method, it will get abstracted based on
its implicit class. If you define your own abstract
method and do not
wish further abstraction based on implicit classes do not use
NextMethod
.
S4 and RC objects are returned unchanged.
abstracted object
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.