R data file

Top Up Down  A A

R datasets, with their data correctly formatted, can be specified directly to Facets.

Data= Rdataset.rda

Dvalues= is useful for constant values in the data

 

Here is an example of data in an R data file.

 

Please edit Guilford.txt so that the following specifications are not commented ";"

 

dvalues = 3, 1-5

data = Guilford.rda ; R file omitting 1-5 for the 3rd facet

 

Comment ";" all the other data= specifications.

 

Launch Facets and analyze Guilford.txt. You should see:

 

Table 2. Data Summary Report

Assigning models to "Guilford.rda"

Importing datafile= C:\Facets\Examples\Guilford.rda

Waiting for imported datafile ...

Continuing ...

First active data line is: 1,1,5,5,3,5,3

             Processed as: 1, 1, 1-5, 5,5,3,5,3

>=============================================================================<

Total lines in data file = 22

Total data lines = 22

Responses matched to model: ?B,?B,?,CREATIVITY,1 = 105

 

If the data appear to be incorrect, verify that Facets has imported your SPSS  data file correctly, look at the temporary "Data =" file in the Edit pull-down menu.

 

 

We see a text-format version of the R file. The values are comma-separated.

 

;"Judge","Examinee","Item.1","Item.2","Item3","Item.4","Item.5"

1,1,5,5,3,5,3

1,2,9,7,5,8,5

1,3,3,3,3,7,1

1,4,7,3,1,3,3

1,5,9,7,7,8,5

1,6,3,5,3,5,1

1,7,7,7,5,5,5

2,1,6,5,4,6,3

2,2,8,7,5,7,2

2,3,4,5,3,6,6

2,4,5,6,4,5,5

2,5,2,4,3,2,3

2,6,4,4,6,4,2

2,7,3,3,5,5,4

3,1,5,5,5,7,3

3,2,7,7,5,7,5

3,3,3,5,5,5,5

3,4,5,3,3,3,1

3,5,9,7,7,7,7

3,6,3,3,3,5,3

3,7,7,7,7,5,7


Help for Facets Rasch Measurement Software: www.winsteps.com.