Skip to contents

Calculate descriptive statistics which should be included in the codebook.

Usage

calculateDescriptives(
  GADSdat,
  inputForDescriptives,
  verbose = FALSE,
  showCallOnly = FALSE
)

Arguments

GADSdat

Object of class GADSdat, created for example by import_spss from the eatGADS package.

inputForDescriptives

data.frame with variable information. This table can be created from GADSdat object, using the createInputForDescriptives function

verbose

Print variable and function information to console?

showCallOnly

Logical: only for diagnostics. If TRUE, no calculation is proceed, and only the function which is called for calculation is returned.

Value

Returns a list of descriptive statistics.

Examples

# tbd