Arguments$getInstanceOf {R.utils} | R Documentation |
Gets an instance of the object that is of a particular class.
## Static method (use this):
## Arguments$getInstanceOf(object, class, coerce=FALSE, ..., .name=NULL)
## Don't use the below:
## S3 method for class 'Arguments'
getInstanceOf(static, object, class, coerce=FALSE, ..., .name=NULL)
object |
The object that should be returned as an instance of
class |
class |
A |
coerce |
If |
... |
Not used. |
.name |
A |
Returns an object inheriting from class class
.
Henrik Bengtsson
For more information see Arguments
.