Learn R Programming

panelsummary (version 0.1.2.1)

connect_means: Merges the means to the modelsummary output dataframe

Description

`connect_means` connects the means to the modelsummary dataframe.

Usage

connect_means(panel_df, means)

Value

A data.frame with the attached means.

Arguments

panel_df

The modelsummary dataframe supplied from modelsummary::modelsummary(x, output = "data.frame")

means

The list of named vectors of means which correspond to each model.