Learn R Programming

PUMP (version 1.0.2)

makelist_samp: Convert multi-outcome data structure to list for each outcome.

Description

Given the simulated multi-outcome structure, make a list of complete (tidy) rectangular datasets, one for each outcome.

Usage

makelist_samp(samp.obs, T.x = NULL)

Value

List of dataframes.

Arguments

samp.obs

a single iteration of observed data

T.x

vector of treatment assignments