Learn R Programming

dclone (version 2.3-2)

nclones: Number of Clones

Description

Retrieves the number of clones from an object.

Usage

nclones(x, ...)
# S3 method for default
nclones(x, ...)
# S3 method for list
nclones(x, ...)

Value

Returns the number of of clones, or NULL.

Arguments

x

An object.

...

Other arguments to be passed.

Author

Peter Solymos, solymos@ualberta.ca

See Also

dclone

Examples

Run this code
x <- dclone(1:10, 10)
nclones(x)
nclones(1:10) # this is NULL

Run the code above in your browser using DataLab