Learn R Programming

FreeSortR (version 1.3)

getStress: Gets the stress value

Description

Get the Kruskal stress value of the Mds solution returned by the function MdsSort().

Usage

getStress(object)

Arguments

object

An object of class SortingMds

Value

A numeric value of stress.

Examples

Run this code
# NOT RUN {
  data(AromaSort)
  Aroma<-SortingPartition(AromaSort)
  resMds<-MdsSort(Aroma,ndim=2)
  stress<-getStress(resMds)
# }

Run the code above in your browser using DataLab