costARc {DendSer} | R Documentation |
Each of these functions evaluates the cost of an ordering.
costARc(sw, o, target = nrow(sw) - 1, ...)
costBAR(sw, o, target=max(2,floor(nrow(sw)/5)),...)
costLS(sw, o, target=seq_along(sw),...)
costPL(sw, o, ...)
costLPL(sw, o, target=(nrow(sw)-1):1,...)
costED(sw, o, node,se,...)
sw |
For cost=costLS, this is a vector of object weights. Otherwise is a symmetric matrix. |
o |
An ordering vector. |
node |
The node |
se |
Extra info |
target |
Parameter used by cost function. |
... |
Other args. |
Result of cost
Catherine Hurley & Denise Earle