how_many_reg: How many regressions are needed

Description Usage Arguments Details Value Examples

Description

how_many_reg returns the number of regressions

Usage

1
how_many_reg(formula, fixed = NA, data, k = 4)

Arguments

formula

An R formula

fixed

A vector of strings for variables that do not need to vary (default = NA)

data

The dataframe to be used

k

Number of variables in each regression that vary (default = 4)

Details

This functions gives an indication of the time needed for the total analysis

Value

Number of possible combinations

Examples

1
how_many_reg(mpg ~., data = mtcars, k = 4)

Thdegraaff/metareg documentation built on May 6, 2019, 8:02 p.m.