models: Build sequence of replicate-survey-adjusted models

Description Usage Arguments Value Examples

View source: R/models.R

Description

Build sequence of replicate-survey-adjusted models

Usage

1
models(dv, covariates, data, family_models = "gaussian")

Arguments

dv

A character element specifying the name of the dependent variable

covariates

A character vector with the names of the covariates

data

The replicated survey design which contains all of the variables outlined above

family_models

The link family to use. See ?family

Value

Returns a list with length(covariates) where the first slot are the results of the dependent variable regressed on the first covariate. The second slot is the dependent variable regressed on the first two covariates and so on, until the last slot, which contains the dependent variable regressed on all covariates

Examples

1
# Don't have time

cimentadaj/cimentadaj documentation built on Dec. 1, 2019, 5:22 p.m.