| initKarpExperimentalDesignObject | R Documentation |
This method creates an object of type karp_experimental_design and will immediately initiate a search through allocation space. Note that the Karp search only works for one covariate (i.e. $p=1$) and the objective "abs_sum_diff".
initKarpExperimentalDesignObject(
X,
wait = FALSE,
balanced = TRUE,
start = TRUE,
verbose = TRUE
)
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 |
balanced |
Should the final vector be balanced? Default and recommended is |
start |
Should we start searching immediately (default is |
verbose |
Should the algorithm emit progress output? Default is |
An object of type karp_experimental_design_search which can be further operated upon
Adam Kapelner
## Not run:
set.seed(1)
X = matrix(rnorm(10), nrow = 10)
kobj = initKarpExperimentalDesignObject(
X,
start = TRUE,
wait = TRUE,
balanced = TRUE,
verbose = FALSE
)
kobj
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.