ComputeMM: ComputeMM - compute the marginal model at a single...

Description Usage Arguments Examples

View source: R/ComputeMM.R

Description

This function will compute the marginal model on a single vertex or voxel. The function can be called in parallel to operate on a map. Such usage can be found in the main function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ComputeMM(
  cifti_meas,
  external_df,
  notation,
  family_dist,
  corstr,
  zcor = NULL,
  wave = NULL,
  id_subjects
)

Arguments

cifti_meas

An array of N numeric measures, where N is the number of subjects

external_df

A data frame with NxM measures. Should include all features that the user wants to model.

notation

A character string representing the modelling formula. Uses the wilkinson notation.

family_dist

A character string representing the type of distribution to use for modelling.

Examples

1
geeglm_obj <- ComputeMM(cifti_meas,external_df,notation,family_dist)

DCAN-Labs/MarginalModelCIFTI documentation built on Nov. 30, 2021, 3:40 p.m.