Description Usage Arguments Details Value Author(s) See Also Examples

Compute different types of conciseness of presentation measures.

1 2 3 4 |

`x` |
a matrix object. |

`rows` |
a subscript vector indexing the rows. |

`cols` |
a subscript vector indexing the columns. |

`bycol` |
logical for computation over the columns. |

`type` |
the type of neighborhood to use. |

Function `stress`

computes the sum of squared distances of each
matrix entry from its adjacent entries. The following types of neighborhoods
are available:

`moore`

:comprises the eight adjacent entries (five at the margins and three at the corners).

`neumann`

:comprises the four adjacent entries (three at the margins and two at the corners).

Function `stress.dist`

computes the auto-distance matrix for each pair
of rows (or columns) given one of the above stress measures. Note that the
result depends on the ordering of the unused dimension.

As the computation can be reduced to summing the edge distances between any two neighboring points, only half of the value of the proposed measures is reported.

Row and/or column indexes (or labels) can be supplied to test specific orderings, as well as subsets of indexes (labels).

Note that the matrix should be normalized so that the distance computation is meaningful.

`stress`

returns a scalar real, i.e. half of the global stress measure.

`stress.dist`

returns an object of class `dist`

, i.e. a
lower triangular matrix in column format.

Christian Buchta

`dist`

for general distance computation.

1 2 3 4 5 6 7 8 9 10 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.