R/example1a.R

#' Example 1a of rating data with names of the raters (and assessed)
#' 
#' Ratings with the names of the raters (and of the assessed).\cr The result of
#' \code{readratdatafixed("<example1a.rat.txt>")}. A 7-point rating scale has
#' been used. Numbers of assessors and assessed are equal (10). Each respondent
#' is identified by a respname, 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.
#' 
#' 
#' @name example1a.rat
#' @docType data
#' @format A data frame with 10 observations of 9 ratings.  \describe{
#' \item{resplabel}{a string vector with an additional identifier of
#' the raters (and assessed).} \item{schoolid}{a numeric vector,
#' identifying the second group level.} \item{groupid}{a numeric
#' vector, identifying the first group level.} \item{respid}{a numeric
#' vector, identifying the individual.} \item{r01}{ratings received by
#' respondent 1.} \item{r02}{ratings received by respondent 2.}
#' \item{r03}{ratings received by respondent 3.}
#' \item{r04}{ratings received by respondent 4.}
#' \item{r05}{ratings received by respondent 5.}
#' \item{r06}{ratings received by respondent 6.}
#' \item{r07}{ratings received by respondent 7.}
#' \item{r08}{ratings received by respondent 8.}
#' \item{r09}{ratings received by respondent 9.}
#' \item{r10}{ratings received by respondent 10.} }
#' @note Rating data can be entered directly into a SSrat compliant dataframe,
#' using \code{\link{edit}}. Colums needed are: "schoolid", "groupid",
#' "respid", and for <n> raters "r01", "r02".."r<n>". Optionally, a column
#' named "resplabel" can be entered, containing the names of the
#' raters/assessed. The raters (assessors) are in rows and assessed in columns.
#' For example: \cr mydata=data.frame(schoolid=numeric(0), groupid=numeric(0),
#' respid=numeric(0),\cr r01=numeric(0), r02=numeric(0), r03=numeric(0));
#' mydata=edit(mydata)
#' @seealso \code{\link{readratdatafixed}} \code{\link{example1.rat}}
#' \code{\link{example1a.rat}} \code{\link{example2.rat}}
#' \code{\link{example3.rat}} \code{\link{example4.rat}}
#' \code{\link{example5.rat}} \code{\link{example6.rat}}
#' \code{\link{example7.rat}} \code{\link{klas2.rat}}
#' @keywords datasets
#' @examples
#' 
#' data(example1a.rat)
#' 
NULL

Try the SSrat package in your browser

Any scripts or data that you put into this service are public.

SSrat documentation built on May 2, 2019, 11:26 a.m.