questions_stats: Question Stats of Moodle Grade Report

View source: R/question.R

questions_statsR Documentation

Question Stats of Moodle Grade Report

Description

Calculate summary statistics for each questions of Moodle Grade Report (See Details).

Usage

questions_stats(data, show = NULL)

Arguments

data

(GradesReport) A data frame of class "GradesReport"

show

If NULL, show every parameters. Otherwise, specify which summary statistics you want to show as a character vector, any of: "n", "min", "max", "median", "Q1", "Q3", "IQR", "MAD", "mean", "SD", "skewness", and "kurtosis" (for excess kurtosis).

Details

questions_stats() calculate grouped summary statistics by questions ("Q"). You can specify which parameters to calculate by show argument.

Value

a data frame of summary statistics

Examples

library(moodleStats)
# Prepare
grades_df_preped <- prep_grades_report(grades_df)

# Calculate
questions_stats(grades_df_preped, show = c("n", "min", "max", "mean"))

Lightbridge-KS/moodleStats documentation built on April 7, 2022, 8:14 p.m.