clone: Copy an R6 class object

View source: R/utility.R

cloneR Documentation

Copy an R6 class object

Description

Copy an R6 class object

Usage

clone(x, deep = TRUE)

Arguments

x

R6 class object

deep

default TRUE; TRUE means deep copy, i.e. copied object is unlinked with the original one.

Value

identical but unlinked R6 object

Examples

data("dataset")
clone(dataset)

microeco documentation built on Nov. 18, 2023, 9:06 a.m.

Related to clone in microeco...