GLM basic info {brainGraph} | R Documentation |
Extract basic information from a bg_GLM object
Description
These functions return the terms
, term labels, model
formula, “case names”, “variable names”, region names,
and number of observations for a bg_GLM
object. The term labels are
used for ANOVA tables.
Usage
## S3 method for class 'bg_GLM'
nobs(object, ...)
## S3 method for class 'bg_GLM'
terms(x, ...)
## S3 method for class 'bg_GLM'
formula(x, ...)
## S3 method for class 'bg_GLM'
labels(object, ...)
## S3 method for class 'bg_GLM'
case.names(object, ...)
## S3 method for class 'bg_GLM'
variable.names(object, ...)
## S3 method for class 'bg_GLM'
region.names(object)
## S3 method for class 'bg_GLM'
nregions(object)
Arguments
... |
Unused |
x , object |
A |
Value
terms
returns a named integer list in which the names are the
term labels and the list elements are the column(s) of the design matrix
for each term. nobs
returns an integer. The other functions return
character vectors.
Note
formula
returns a character string, not a formula
object.
[Package brainGraph version 3.1.0 Index]