clone: Clone / duplicate an object 'clone()' physically duplicates...

View source: R/HPart.R

cloneR Documentation

Clone / duplicate an object clone() physically duplicates objects

Description

Clone / duplicate an object clone() physically duplicates objects

Usage

clone(x, ...)

## S3 method for class 'HPart'
clone(x, tipLabels = attr(x, "tip.label"), ...)

Arguments

x

the object to be cloned

...

additional parameters for methods

tipLabels

Character vector specifying sequence in which to order tip labels.

Value

clone() typically returns an object of the same class and "value" as the input x.

Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)


TreeDist documentation built on Nov. 5, 2025, 6:04 p.m.