Learn R Programming

rbi (version 0.6.0)

libbi_clone: Clone a libbi object

Description

Returns a copy of the libbi object with exactly the same properties as the original object (except for any parameters given to the clone call)

Arguments

model
a libbi model (or path to a model file), if the cloned libbi object is to use a different model
...
any options to the new libbi object

See Also

libbi

Examples

Run this code
bi_object <- libbi$new(client = "sample",
                       model = system.file(package="rbi", "PZ.bi"),
                       options = list(sampler = "smc2"))
bi_object_new <- bi_object$clone()

Run the code above in your browser using DataLab