Learn R Programming

TestDesign (version 1.0.1)

dataset_reading: Reading dataset

Description

Stimulus-based example item pool (303 items).

Arguments

Details

This pool is associated with the following objects:

  • itempool_reading An '>item_pool object.

  • itemattrib_reading A data frame containing item attributes.

  • stimattrib_reading A data frame containing stimulus attributes.

  • constraints_reading A list containing 18 constraints.

Also, the following datasets are intended for illustrating expected data structures. See examples below.

  • itempool_reading_raw Item parameters.

  • itemattrib_reading_raw Item attributes.

  • stimattrib_reading_raw Item attributes.

  • constraints_reading_raw Constraints.

Examples

Run this code
# NOT RUN {
## Write to tempdir() and clean afterwards
f <- file.path(tempdir(), "itempool_reading.csv")
write.csv(itempool_reading_raw, f, row.names = FALSE)
itempool_reading <- loadItemPool(f)
file.remove(f)

f <- file.path(tempdir(), "itemattrib_reading.csv")
write.csv(itemattrib_reading_raw, f, row.names = FALSE)
itemattrib_reading <- loadItemAttrib(f, itempool_reading)
file.remove(f)

f <- file.path(tempdir(), "stimattrib_reading.csv")
write.csv(stimattrib_reading_raw, f, row.names = FALSE)
stimattrib_reading <- loadStAttrib(f, itemattrib_reading)
file.remove(f)

f <- file.path(tempdir(), "constraints_reading.csv")
write.csv(constraints_reading_raw, f, row.names = FALSE)
constraints_reading <- loadConstraints(f,
  itempool_reading, itemattrib_reading, stimattrib_reading)
file.remove(f)

# }

Run the code above in your browser using DataLab