plotTerms function

Plot of the terms used during verbalisation step

Plot of the terms used during verbalisation step

plotTerms() produces a plot of the terms. The rows of array MatTerms are the stimuli and the columns are the terms.

plotTerms(MatTerms,ResMds,dim=c(1,2),type="correl",add=TRUE)

Arguments

  • MatTerms: Array of occurrences of terms
  • ResMds: Object of class SortingMds
  • dim: Vector of dimensions to be plotted (default is dim=c(1,2))
  • type: Indicates the type of plotting (default is type="correl" for correlations)
  • add: Indicates if the stimuli are added to the plot (if type="baryc")

Details

If type="correl", the correlations between occurrences of terms and dimensions of a Mds configuration are plotted. plotTerms() returns the correlation matrix.

If type="baryc", a barycentric representation of terms is used. If add=TRUE, the stimuli are added to this plot. plotTerms() returns the coordinates of terms.

Returns

returns a matrix of correlation or a configuration of terms (depending on type).

Examples

data(AromaSort) Aroma<-SortingPartition(AromaSort) resMds<-MdsSort(Aroma,ndim=2) data(AromaTerms) plotTerms(AromaTerms,resMds)
  • Maintainer: Philippe Courcoux
  • License: GPL-2
  • Last published: 2017-12-17

Useful links