
Last chance! 50% off unlimited learning
Sale ends in
Creates a new instance of the same class as this object.
# S3 method for BasicObject
newInstance(this, ...)
Returns a reference to an instance of BasicObject
or a subclass thereof.
Arguments passed to the constructor of the corresponding
BasicObject
class.
Henrik Bengtsson
newInstance.Object
().
newInstance.Class
().
For more information see BasicObject
.