Learn R Programming

dataquieR (version 2.1.0)

des_summary: 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
)

Value

a list with:

  • SummaryTable: data frame

  • SummaryData: data frame

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

See Also

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab