Learn R Programming

Kmisc (version 0.5.0)

duplicate: Force a Copy of an R Object

Description

In R, objects are copied 'lazily'. We use this function to force a copy.

Usage

duplicate(x)

Arguments

x
An R object.