initKarpExperimentalDesignObject: Begin Karp Search

View source: R/karp_search.R

initKarpExperimentalDesignObjectR Documentation

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
)

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).

Value

An object of type karp_experimental_design_search which can be further operated upon

Author(s)

Adam Kapelner


GreedyExperimentalDesign documentation built on July 26, 2023, 5:48 p.m.