Learn R Programming

ldamatch (version 0.6.3)

check_subspaces_for_group_size_setup: Searches over all possible subspaces for specified group size setup.

Description

Searches over all possible subspaces for specified group size setup.

Usage

check_subspaces_for_group_size_setup(best, grpsize_setup, sspace, condition,
  covariates, halting_test, thresh, print_info)

Arguments

best
The best matched groups so far together with its p-value / thresh ratio; a list containing ratio and inds (a list of subject index vectors).
grpsize_setup
A set of group sizes as a data.table row (also a list).
sspace
An ordered subject subspace: a list of vectors, with one vector per group containing the corresponding subject indices.
condition
A factor vector containing condition labels.
covariates
A vector or columnwise matrix containing covariates to match the conditions on.
halting_test
A function to apply to `covariates` (in matrix form) which is TRUE iff the conditions are matched.
thresh
The statistical threshold to pass onto the aforementioned test.
print_info
If TRUE, prints summary information on the input and the results, as well as progress information for the exhaustive search algorithm. Default: TRUE; can be changed using set_param("PRINT_INFO

Value

  • The best