get_lm_vars: Get some variables for LM

Description Usage Arguments Value

View source: R/get_resid.R

Description

Get some variables for LM

Usage

1
get_lm_vars(covars, exclude, ...)

Arguments

covars

A data.table of the covariates of interest

exclude

Character vector of covariates to exclude (default: NULL)

...

Arguments passed to brainGraph_GLM_design (optional)

Value

A list containing:

X

The design matrix

lev

The leverage

n

The number of observations

p

The number of parameters


brainGraph documentation built on May 29, 2018, 9:03 a.m.