update-doc | R Documentation |
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
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. |
A new model object of class 'rcox'.
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.
Søren Højsgaard, sorenh@math.aau.dk
rcox
data(math)
gm = ~al:an:st
vcc = list(~me+st, ~ve+an, ~al)
ecc = list(~me:ve+me:al, ~ve:al+al:st)
m1 <- rcox(gm=gm, vcc=vcc, ecc=ecc, data=math, method='matching', trace=0)
update(m1, joinvcc=list(~me+st, ~ve+an))
update(m1, joinecc=list(~al:an, ~an:st))
update(m1, splitvcc=~ve+an)
update(m1, splitecc=~me:ve+me:al)
update(m1, dropecc=list(~me:st+st:an,~al:an,~st:al))
update(m1, addecc=list(~an:me+st:ve))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.