create_z: Create complete-case outcome, weights, and Z

View source: R/utils.R

create_zR Documentation

Create complete-case outcome, weights, and Z

Description

Create complete-case outcome, weights, and Z

Usage

create_z(Y, C, Z, X, ipc_weights)

Arguments

Y

the outcome

C

indicator of missing or observed

Z

the covariates observed in phase 1 and 2 data

X

all covariates

ipc_weights

the weights

Value

a list, with the complete-case outcome, weights, and Z matrix


vimp documentation built on Aug. 29, 2023, 1:06 a.m.