Learn R Programming

TestDesign (version 0.2.5)

ATA: Run Automated Test Assembly

Description

Perform Automated Test Assembly with specified configurations.

Usage

ATA(config, constraints, plot = FALSE, plot_range = c(-3, 3))

# S4 method for config_ATA ATA(config, constraints, plot = FALSE, plot_range = c(-3, 3))

Arguments

config

An '>config_ATA object containing configuration options. Use createStaticTestConfig for this.

constraints

A list representing optimization constraints. Use loadConstraints for this.

plot

Logical. If TRUE, draw Fisher information plot from the selected items.

plot_range

Numeric. A vector of length 2 containing the lower and upper bounds of plot range. The default is c(-3, 3).

Value

A list containing the following entries:

  • MIP A list containing the result from MIP solver.

    • solution Solution vector. Each value represents an item. A value of 1 indicates the item was selected.

    • objval Objective value of the solution.

    • status Status value indicating whether an optimal solution was found.

  • selected The attributes of the selected items.

  • solver The name of the MIP solver used in the assembly.

  • obj_value Objective value of the solution. Identical to the one above.

  • solve_time The elapsed time in running the solver.

References

van_der_linden_linear_2005TestDesign

Examples

Run this code
# NOT RUN {
config_science <- createStaticTestConfig(
  list(
    method = "MAXINFO",
    target_location = c(-1, 1)
  )
)
solution <- ATA(config_science, constraints_science, plot = TRUE)

# }

Run the code above in your browser using DataLab