plotTerms: Plot of the terms used during verbalisation step

Description Usage Arguments Details Value Examples

View source: R/plotTerms.R

Description

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

Usage

1
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

1
2
3
4
5

FreeSortR documentation built on Dec. 18, 2017, 1:06 a.m.