update will update and (by default) re-fit an RCOX model. It does this by extracting the call stored in the object, updating the call and (by default) evaluating that call. Sometimes it is useful to call update with only one argument, for example if the data frame has been corrected
Arguments
object: An RCOX model, an object of class RCOX
vcc: Specification of the vertex colour classes in the model
ecc: Specification of the edge colour classes in the model
splitvcc: Existing vertex colour class to be split
splitecc: Existing edge colour class to be split
joinvcc: Existing vertex colour classes to be joined
joinecc: Existing vertex colour classes to be joined
addecc: New edge colour classes to be added
dropecc: Existing vertex color classes to be dropped (deleted)
Kstart: A start value for K
fit: Should the updated model be fitted.
control: A list of control parameters.
trace: For debugging purposes
...: Additional arguments, currently not used.
Returns
A new model object of class 'rcox'.
Warning
Only one of the arguments pertaining to edge colour classes (i.e. ecc, splitecc, joinecc, dropecc, addecc) should be applied at the time. Likewise for the arguments pertaining to the vertex colour classes.
The result will otherwise be highly unpredictable and is likely to cause an error.