Learn R Programming

mmrm (version 0.3.16)

h_fits_common_data: Combine the Datasets from mmrm Fits

Description

Take the data columns used in each mmrm fit and merge() them.

Usage

h_fits_common_data(fits)

Value

A data frame combining all the common observations among the datasets underlying the elements of fits.

Arguments

fits

(list)
list of mmrm fits.

Details

All default arguments for merge() are used, resulting in a "natural join": the result will only contain the observations found in all datasets.

droplevels() is applied to the final product to prevent extraneous warnings.