File: qualtricsBlockStack.Rd

package info (click to toggle)
r-cran-kutils 1.73%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,648 kB
  • sloc: sh: 13; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 1,115 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/importQualtrics.R
\name{qualtricsBlockStack}
\alias{qualtricsBlockStack}
\title{Create meta data frame to align identical questions}
\usage{
qualtricsBlockStack(meta, questionname = "question")
}
\arguments{
\item{meta}{A meta data structure retrieved from importQualtrics}

\item{questionname}{Character string for name of column in meta data that holds the questions}
}
\value{
A new meta data table that horizontally aligns equivalent questions.
}
\description{
Qualtrics returns a data frame that has vertical "blocks", one for
each "treatment condition" in an experimental condition.
Researchers often want to align the questions from the blocks
vertically, essentially converting the Qualtrics "wide" format to
a "long" format. This is a helper function that identifies
questions that may need to be stacked together.  The input is a
meta data structure (can be retrieved as an attribute from
importQualtrics). It will find out which questions are identical
and prepare to re-align ("stack") the columns.
}
\author{
Paul Johnson
}