clone {microeco}R 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)

[Package microeco version 1.7.1 Index]