plotTerms {FreeSortR}R Documentation

Plot of the terms used during verbalisation step

Description

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

Usage

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.

Value

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)

[Package FreeSortR version 1.3 Index]