newInstance.Object {R.oo}R 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 'Object':
newInstance(this, ...)

Arguments

... Not used.

Value

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

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

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


[Package R.oo version 1.6.5 Index]