copy: Copy

Description Usage Arguments Value Examples

View source: R/dist.R

Description

Generic function to perform a deep copy of the distribution.

Usage

1
copy(d)

Arguments

d

Dist object representing the distribution to be copied.

Value

Dist giving the copy of the distribution.

Examples

1
2
3
4
5
6
7
d <- Dist(c(1, 2, 3, 4))
c <- copy(d)
c

d <- Dist(7)
c <- copy(d)
c

rinform documentation built on April 1, 2018, 12:12 p.m.