Description Usage Arguments Value Examples
The function (ReadSortFile()
) reads a csv file of free sorting data.
The file contains stimuli as rows and subjects as columns. For a subject, two stimuli in the same group are coded by the same symbol. First row contains the labels of subjects and first column contains the labels of stimuli.
For each subject, the coding of a group may be a number or a list of terms describing the group (terms have to be separated by a symbol, as a comma).
Returns a matrix of sorting and, if this is adequate, matrices describing the use of terms by subjects.
1 | ReadSortFile(filename, terms=FALSE, septerms=",", sep=";", dec=".")
|
filename |
File name (and address if necessary) |
terms |
Boolean indicating if groups are coded by terms ( |
septerms |
Symbol for separating terms (default is |
sep |
Symbol for separating data in the csv file (default is |
dec |
Decimal separator (default is |
List of the following components :
MatSort |
Matrix of sorting groups (may be used by the function SortingPartition) |
MatTerms |
Matrix of occurences of the terms used by the subjects |
Stress |
List of terms used by each subject |
1 2 | # dat<-ReadSortFile ("FSdata.csv")
# Sort<-SortingPartition(dat$MatSort)
|
Loading required package: smacof
Loading required package: plotrix
Attaching package: 'smacof'
The following object is masked from 'package:base':
transform
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-4
Loading required package: ellipse
Attaching package: 'ellipse'
The following object is masked from 'package:graphics':
pairs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.