designdfhelp: Create a dataframe based on an 'observed' variable design...

Usage Arguments Examples

Usage

1
designdf(variablespecification)

Arguments

variablespecification

A list of 'observed' variables to create a design specification. Must include 'participant' as one variable.

Examples

1
2
3
4
5
6
7
8
9
Please note these parameter values are provided for illustrative purposes only

observedvariables = as.list(c(participant = "rep(1:20, each = 40)",
                              qriscore = "rnorm(participant, 10, 2)",
                              hlvascore = "rnorm(participant, 8, 0.5)",
                              texts = "rep(1:10, times = 20, each = 4)",
                              question = "rep(1:800)"))

designdf(observedvariables)

chaddlewick/spr documentation built on May 14, 2019, 3:06 a.m.