View source: R/orderResponses.R
order.responses | R Documentation |
Function that transforms the survey responses into ordered factors. Levels quality.read
and quality.notread
: "very bad", "bad", "a bit bad", "neutral", "a bit good", "good", "very good", "NA". Levels literariness.read
and literariness.notread
: "absolutely not literary", "non-literary", "not very literary", "between literary and non-literary","a bit literary", "literary", "very literary", "NA". Levels statements 4/12: "completely disagree", "disagree", "neutral", "agree", "completely agree", "NA".
order.responses(bookratings.or.readingbehavior = NULL)
bookratings.or.readingbehavior |
Use either |
A data table containing relevant variables.
Saskia Lensink, Maciej Eder
https://literaryquality.huygens.knaw.nl/
reviews
, respondents
, motivations
, books
# to create a data frame with ordered factor levels of the questions
# on reading behavior:
dat.reviews = order.responses("readingbehavior")
str(dat.reviews)
# to create a data frame with ordered factor levels of the book ratings:
dat.ratings = order.responses("bookratings")
str(dat.ratings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.