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

This function computes the dissimilarity-based discrepancy measure of the groups defined by the group variable. The function is a wrapper for the TraMineR `dissvar`

function.

1 | ```
dissvar.grp(diss, group=NULL, ...)
``` |

`diss` |
a dissimilarity matrix or a |

`group` |
group variable. If |

`...` |
additional arguments passed to |

The function is a wrapper for running `dissvar`

on the different groups defined by the `group`

variable.

A vector with the group discrepancy measures.

This function is a pre-release and further testing is still needed, please report any problems.

Gilbert Ritschard

1 2 3 4 5 6 7 8 9 10 | ```
## create the biofam.seq state sequence object from the biofam data.
data(biofam)
biofam <- biofam[1:100,]
biofam.seq <- seqdef(biofam[,10:25])
dist <- seqdist(biofam.seq, method="HAM")
## discrepancy based on non-squared dissimilarities
dissvar.grp(dist, biofam$plingu02)
## square root of discrepancy based on squared dissimilarities
sqrt(dissvar.grp(dist, biofam$plingu02, squared=TRUE))
``` |

TraMineRextras documentation built on Feb. 2, 2018, 3 a.m.

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.