costARc {DendSer}R Documentation

Cost functions for DendSer

Description

Each of these functions evaluates the cost of an ordering.

Usage

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,...)

Arguments

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.

Value

Result of cost

Author(s)

Catherine Hurley & Denise Earle


[Package DendSer version 1.0.2 Index]