example7.rat {SSrat} | R Documentation |
Example 7 of rating data of three groups and two different rating scales
Description
The combined data matrices of three groups. Because the rating scale is 5
points for the groups (1, 1) and (2, 1), while a 7 points rating scale has
been used in group (1, 3), function calcallgroups cannot be used for further
processing. In stead, calcgroups must be used for each group seperately.
The result of readratdatafixed("<example7.rat.txt>"). Each respondent is
identified by a schoolid, a group id and a respondent id. The rows contain
the assessors, the columns contain the assessed. When rater equals assessed
(diagonal), the rating is NA.
Format
A data frame with 10 observations of 9 ratings.
- schoolid
a numeric vector, identifying the second group level
- groupid
a numeric vector, identifying the first group level.
- respid
a numeric vector, identifying the individual.
- r01
ratings received by respondent 1.
- r02
ratings received by respondent 2.
- r03
ratings received by respondent 3.
- r04
ratings received by respondent 4.
- r05
ratings received by respondent 5.
- r06
ratings received by respondent 6.
- r07
ratings received by respondent 7.
- r08
ratings received by respondent 8.
- r09
ratings received by respondent 9.
- r10
ratings received by respondent 10.
Note
Rating data can be entered directly into a SSrat compliant dataframe,
using edit
. Colums needed are: "schoolid", "groupid",
"respid", and for <n> raters "r01", "r02".."r<n>". Optionally, a column
named "resplabel" can be entered, containing an additional identifier of the
raters/assessed. The raters (assessors) are in rows and assessed in columns.
For example:
mydata=data.frame(schoolid=numeric(0), groupid=numeric(0),
respid=numeric(0),
r01=numeric(0), r02=numeric(0), r03=numeric(0));
mydata=edit(mydata)
To allow for the combination of groups with different
sizes in a single file, it is important to enumerate the n respondents from
1 to n, respectively use the columnnames r01 to rn for the received ratings.
These column names are padded with a zero (r01, r02 etc.) to allow for easy
ordening of these columns after a merge.
See Also
readratdatafixed
calcallgroups
calcgroup
example1.rat
example1a.rat
example2.rat
example3.rat
example4.rat
example5.rat
example6.rat
Examples
data(example7.rat)