Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

newInstance.BasicObject

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

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.