Learn R Programming

dclone (version 2.1-1)

nclones: Number of Clones

Description

Retrieves the number of clones from an object.

Usage

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

Arguments

x
An object.
...
Other arguments to be passed.

Value

  • Returns the number of of clones, or NULL.

encoding

UTF-8

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