costARc: Cost functions for DendSer

View source: R/cost.R

costARcR 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


DendSer documentation built on April 27, 2022, 5:07 p.m.

Related to costARc in DendSer...