des_summary: Compute Descriptive Statistics

View source: R/des_summary.R

des_summaryR Documentation

Compute Descriptive Statistics

Description

generates a descriptive overview on the variables ins resp_vars.

Descriptor

Usage

des_summary(
  study_data,
  resp_vars = NULL,
  meta_data = "item_level",
  label_col = LABEL
)

Arguments

study_data

data.frame the data frame that contains the measurements

resp_vars

variable the name of the continuous measurement variable

meta_data

data.frame the data frame that contains metadata attributes of study data

label_col

variable attribute the name of the column in the metadata with labels of variables

Details

TODO

Value

a list with:

  • SummaryTable: data frame

  • SummaryData: data frame

See Also

Online Documentation

Examples

## Not run: 
prep_load_workbook_like_file("meta_data_v2")
xx <- des_summary("study_data", meta_data =
                              prep_get_data_frame("item_level"))
util_html_table(xx$SummaryData)
util_html_table(des_summary(study_data = prep_get_data_frame("study_data"),
                   meta_data = prep_get_data_frame("item_level"))$SummaryData)

## End(Not run)

dataquieR documentation built on May 29, 2024, 7:18 a.m.