cq_example: Example ConQuest output files

Description Usage Arguments Value Examples

Description

Example ConQuest output files

Usage

1
2
cq_example(n = 10, display = TRUE, example_name = c("ex1.itn",
  "ex1_05.pv", "ex1_10.pv", "ex1.shw"))

Arguments

n

the number of lines to print. only used when display = TRUE.

display

When TRUE (the default) the example output is read and the first n lines are printed. The file path to example conquest output file is returned invisibly. Use FALSE if just the conquest output file path is needed. No output will be displayed.

example_name

Specifies the example output file to use. Default is "ex1.itn". Other options are "ex1_05.pv" and "ex1_10.pv" which requests the plausible values example file with 5 or 10 pvs per case respectively. An example file generated by the ConQuest show command is "ex1.shw".

Value

Invisibly returns a valid file path to conquest output file which can be used with other conquestr functions.

Examples

1
2
3
4
library(readr)
fname <- cq_example(display = FALSE)
fname
cq_example(n = 7)

markdly/conquestr documentation built on May 29, 2019, 5:40 a.m.