SortingPartition {FreeSortR}R Documentation

Creates an object of class SortingPartition

Description

Returns an object of class SortingPartition from an array containing the partitions.

The array has stimuli as rows and subjects as columns. For a subject, two stimuli in the same group are coded by the same number.

Usage

  SortingPartition(DataSort)

Arguments

DataSort

A dataframe containing the partitions of the subjects

Details

The first row contains the labels of subjects and the first column contains the labels of stimuli.

In the case of multiple sorting task, the different partitions given by the same subject are in columns sharing the same name (but with different subnames: A, A.1, A.2...) in the array.

A value of 0 indicates that the subject did not sort the given stimulus (in case of incomplete design).

Value

An object of class SortingPartition.

Examples

  data(AromaSort)
  Aroma<-SortingPartition(AromaSort)
  show(Aroma)

[Package FreeSortR version 1.3 Index]