D_C_check: Internal function for formatting and checking specification...

Description Usage Arguments

View source: R/mvGPS.R

Description

Internal function for formatting and checking specification of exposures and confounders

Usage

1
D_C_check(D, C, common)

Arguments

D

numeric matrix of dimension n by m designating values of the exposures

C

either a list of numeric matrices of length m of dimension n by p_j designating values of the confounders for each exposure value or if common is TRUE a single matrix of of dimension n by p that represents common confounders for all exposures.

common

logical indicator for whether C is a single matrix of common confounders for all exposures. default is FALSE meaning C must be specified as list of confounders of length m.


mvGPS documentation built on Dec. 11, 2021, 9:06 a.m.