powered by
Generic function to perform a deep copy of the distribution.
copy(d)
Dist object representing the distribution to be copied.
Dist giving the copy of the distribution.
# NOT RUN { d <- Dist(c(1, 2, 3, 4)) c <- copy(d) c d <- Dist(7) c <- copy(d) c # }
Run the code above in your browser using DataLab