clone: Copy an R6 class object completely

Description Usage Arguments Value Examples

View source: R/utility.R

Description

Copy an R6 class object completely

Usage

1
clone(x, deep = TRUE)

Arguments

x

R6 class object

deep

default TRUE; deep copy

Value

identical but unrelated R6 object.

Examples

1
2
data("dataset")
clone(dataset)

microeco documentation built on May 30, 2021, 5:06 p.m.

Related to clone in microeco...