newInstance.BasicObject: Creates a new instance of the same class as this object

newInstance.BasicObjectR Documentation

Creates a new instance of the same class as this object

Description

Creates a new instance of the same class as this object.

Usage

## S3 method for class 'BasicObject'
newInstance(this, ...)

Arguments

...

Arguments passed to the constructor of the corresponding BasicObject class.

Value

Returns a reference to an instance of BasicObject or a subclass thereof.

Author(s)

Henrik Bengtsson

See Also

newInstance.Object(). newInstance.Class(). For more information see BasicObject.


R.oo documentation built on Nov. 2, 2024, 1:07 a.m.