acc: Unique combinations of variables

View source: R/hp_helpers.R

accR Documentation

Unique combinations of variables

Description

Function to get all possible combinations for a set of covariates.

Usage

acc(k)

Arguments

k

Number of covariates (or covariate groups).

Details

This function takes a number (k) and then outputs a matrix with every row depicting one unique combination of covariates. This function is used for model fitting.


Stan125/vibe documentation built on June 6, 2024, 11:36 a.m.