dissmfac(formula, data, R = 1000, gower = FALSE, squared = TRUE,
permutation = "dissmatrix")
dist
object.dissmatrix
, permutations are done on the dissimilarity matrix, else if equal to "model" permutations are done on the variable matrix. Depending on the number of observation, "model" can be quicker.dissmultifactor
object with the following components:boot
objectdissassoc
to account for several explanatory variables. The function computes the part of discrepancy explained by a list of covariates. It provides for each covariate Type-II effect, i.e. the effect of removing the variable from the full model with all variables included. For a single factor dissmfac
is slower than dissassoc
. Moreover, the latter performs also tests of homogeneity in within group discrepancy (equality of variances) using generalization of Bratlett statistics.
The function is based on the program written for scipy (Python) by Ondrej Libiger and Matt Zapala. See Zapala and Schork (2006) for a full reference.dissvar
to compute the pseudo variance from dissimilarities and for a basic introduction to concepts of pseudo variance analysis.
dissassoc
to test association between objects represented by their dissimilarities and a covariate.
disstree
for an induction tree analyse of objects characterized by a dissimilarity matrix.
disscenter
to compute the distance of each object to its group center from pairwise dissimilarities.## Defining a state sequence object
data(mvad)
mvad.seq <- seqdef(mvad[, 17:86])
## Building dissimilarities
mvad.lcs <- seqdist(mvad.seq, method="LCS")
print(dissmfac(mvad.lcs ~ male + Grammar + funemp +
gcse5eq + fmpr + livboth, data=mvad, R=10))
Run the code above in your browser using DataLab