Model Editing {gRcox} | R Documentation |
Functions for editing (i.e. modifying) RCOX models.
joinVCC(cc, m, fit = TRUE) joinECC(cc, m, fit = TRUE) joinCC(cc, m, type = "ecc", fit = TRUE) splitVCC(cc, m, fit = TRUE) splitECC(cc, m, fit = TRUE) splitCC(cc, m, type = "ecc", fit = TRUE) addECC(cc, m, fit = TRUE) dropECC(cc, m, fit = TRUE)
cc |
A colour class |
m |
An RCOX model |
type |
Either 'vcc' for vertex colour class or 'ecc' for edge colour class |
fit |
If FALSE the new model is not fitted. |
splitVCC and splitECC are simply wrappers for splitCC and likewise for joinVCC, joinECC and joinCC.
An RCOX model object.
Søren Højsgaard, sorenh@agrsci.dk
data(math) bufly1 <- rcox(~al:an:st, vcc=list(~me+st, ~ve+an), ecc=list(~me:ve+me:al, ~ve:al+al:st), data=math) joinVCC(list(~me+st, ~ve+an), bufly1) joinECC(list(~al:an, ~an:st), bufly1) splitCC(~ve+an,bufly1,type='vcc') splitCC(~me:ve+me:al,bufly1,type='ecc') splitVCC(~ve+an, bufly1) splitECC(~me:ve+me:al, bufly1) addECC(~me:an+ve:st,bufly1) dropECC(~me:ve+me:al,bufly1)