Description Usage Arguments Details Value See Also Examples

Computes the stress for 0 iterations based on a starting configuration provided by the user.

1 2 |

`delta` |
Either a symmetric dissimilarity matrix or an object of class |

`init` |
An initial configuration provided by the user |

`weightmat` |
Optional matrix with dissimilarity weights |

`type` |
MDS type: |

`ties` |
Tie specification (ordinal MDS only): |

`spline.degree` |
Degree of the spline for |

`spline.intKnots` |
Number of interior knots of the spline for |

Computes stress-1 for a particular starting configuration the user needs to provide. It can also be helpful if the user wants to force a particular theoretical configuration (as specified in `inits`

) on the data.

`delta` |
Observed dissimilarities, not normalized |

`dhat` |
Disparities (transformed proximities, approximated distances, d-hats) |

`confdist` |
Configuration distances |

`conf` |
Matrix of fitted configurations |

`stress` |
Stress-1 value |

`spp` |
Stress per point (stress contribution in percentages) |

`resmat` |
Matrix with squared residuals |

`rss` |
Residual sum-of-squares |

`weightmat` |
Weight matrix |

`ndim` |
Number of dimensions |

`init` |
Starting configuration |

`model` |
Name of smacof model |

`niter` |
Number of iterations |

`nobj` |
Number of objects |

`type` |
Type of MDS model |

1 2 3 4 5 6 7 | ```
## rectangle starting solution
rect_constr
stress0(rectangles, init = rect_constr)
## torgerson starting solution
tstart <- torgerson(rectangles)
stress0(rectangles, init = tstart)
``` |

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.