determine.subgroups: Determines subgroups.

View source: R/determine.subgroups.R

determine.subgroupsR Documentation

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
)

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.

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.


gimme documentation built on Aug. 30, 2023, 1:08 a.m.