stat.info: Descriptive statistical information of test items

View source: R/stat.info.R

stat.infoR Documentation

Descriptive statistical information of test items

Description

This functions allows calculating descriptive statistics for test items in vectors or data frames. These measures include the mean, median, standard deviation, sample size, minimum, and maximum of points achieved in the test.

Usage

stat.info(
  data, 
  round = 2, 
  vector.name = "", 
  export = FALSE, 
  exportfile = "statexport"
)

Arguments

data

data input, either as data frame or vector

round

Rounding value for the output values

vector.name

If vector input: name of the test for the output description

export

TRUE if the data frame output should be exported as csv file

exportfile

Name of the output file if expert = TRUE

Examples

stat.info(data, round = 3, export = TRUE, exportfile = "TestA")

samueltobler/behavdata documentation built on July 9, 2024, 11:33 a.m.