Learn R Programming

dclone (version 1.2-0)

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)

Run the code above in your browser using DataLab