orderLogDen: orderLogDen

Description Usage Arguments Author(s) See Also Examples

Description

rank the log-Densities, starting with highest densities

Usage

1
orderLogDen(ss, nDen = attr(ss, "nBlock"), decreasing = TRUE)

Arguments

ss

numeric matrix ( nRec x nDen+nPar )

nDen

number of densities

decreasing

argument to order, to start with the highest ranks, i.e best models

Author(s)

Thomas Wutzler

See Also

getBestModelIndices sumLogDenCompBlocks

Examples

1
2
3
4
5
if( FALSE ){    # no twDEMCSA result available for now
    #assume resBlock is a result of twDEMCSA with multiple densities
    ss <- stackChains(resBlock, useTemperatedLogDen=TRUE)         # get the temperated summed densities for each block
    ss[ head(orderLogDen(ss)), ]     # display the best results
}

twDEMC documentation built on May 2, 2019, 5:38 p.m.