Construct an experiment object.
experiment(object, ...)
object
An R object.
...
Optional arguments passed on to implementing methods.