Learn R Programming

gimme (version 0.7-18)

determine.subgroups: Determines subgroups.

Description

Determines subgroups.

Usage

determine.subgroups(
  data_list,
  base_syntax,
  n_subj,
  chisq_cutoff,
  file_order,
  elig_paths,
  confirm_subgroup,
  out_path = NULL,
  sub_feature,
  sub_method,
  sub_sim_thresh,
  hybrid,
  dir_prop_cutoff
)

Value

Returns sub object containing similarity matrix, the number of subgroups, the modularity associated with the subgroup memberships, and a data frame containing the file names and subgroup memberships.

Arguments

data_list

A list of all datasets.

base_syntax

A character vector containing syntax that never changes.

n_subj

The number of subjects in the sample.

chisq_cutoff

Cutoff used in order for MI to be considered significant.

file_order

A data frame containing the order of the files and the names of the files. Used to merge in subgroup assignment and preserve order.

elig_paths

A character vector containing eligible paths that gimme is allowed to add to the model. Ensures only EPCs from allowable paths are considered in the creation of the similarity matrix.

confirm_subgroup

A dataframe with the first column a string vector of data file names without extensions and the second vector a integer vector of subgroup labels.