Learn R Programming

GreedyExperimentalDesign (version 1.5.6.1)

initKarpExperimentalDesignObject: Begin Karp Search

Description

This method creates an object of type karp_experimental_design and will immediately initiate a search through $1_T$ space. Note that the Karp search only works for one covariate (i.e. $p=1$) and the objective "abs_sum_diff".

Usage

initKarpExperimentalDesignObject(
  X,
  wait = FALSE,
  balanced = TRUE,
  start = TRUE
)

Value

An object of type karp_experimental_design_search which can be further operated upon

Arguments

X

The design matrix with $n$ rows (one for each subject) and $p$ columns (one for each measurement on the subject). This is the design matrix you wish to search for a more karp design.

wait

Should the R terminal hang until all max_designs vectors are found? The deafult is FALSE.

balanced

Should the final vector be balanced? Default and recommended is TRUE.

start

Should we start searching immediately (default is TRUE).

Author

Adam Kapelner