Learn R Programming

SPSStoR (version 0.3.0)

descmat: Descriptives Matrix function

Description

Computes numerous descriptive statistics returning a matrix

Usage

descmat(x, ..., na.rm = TRUE)

Arguments

x
A list of variables to compute descriptive statistics for.
...
Statistics to be cacluated.
na.rm
Whether missing values will be removed, defaults to TRUE.

Details

This function takes a list of methods (e.g. mean, variance) and computes these for the list of x variables. The computed statistics are found along the columns and the different variables are found along the rows.

Examples

Run this code

## Example with college football data
data(cfbMinn)

Run the code above in your browser using DataLab