mmi_tvalue: Multimodel averaging with t-values

Description Usage Arguments Examples

View source: R/MMI_tvalues.R

Description

Function builds GLM, runs multi-model inference to produce: 1. Standardized t-values (and standard error) for each covariate across full model set (effect sizes) 2. R-squareds of each model < 7 AICc of top model 3. Predicted y across each covariate, weighted by AIC for all models < 7 AICc of top model (and variance in predictions)

Usage

1
2
3
4
5
6
7
8
9
mmi_tvalue(
  M_FULL,
  dataset,
  exp.names,
  ranef,
  indicator,
  family,
  t.subset = FALSE
)

Arguments

dataset

= dataset containing y and all x covariates. should be scaled and centered (mean = 0, sd = 1)

exp.names

= explanatory covariate names, passed as vector of characters

indicator

= y variable of interest (character)

family

= GLM family distribution, takes 'gaussian' or 'Gamma'

Examples

1

jpwrobinson/funk documentation built on Nov. 21, 2021, 11:23 p.m.