Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

desc

Variable Descriptive Statistics


Description

Computes mean, standard deviation (sd), minimum value (min), maximum value (max), and univariate normal statistics (normal?) for a variable

Usage

desc(data, column, histplot = TRUE)

Arguments

data

A matrix or data frame

column

Column name or number in data

histplot

A histogram plot of the variable

Value

A data frame containing values for n (number of cases), missing (number of missing cases), mean, sd, min, and max. normal? will contain yes/no for whether the variable is normally distributed based on the shapiro.test for a variable

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

Examples

desc(neoOpen,1)

NetworkToolbox

Methods and Measures for Brain, Cognitive, and Psychometric Network Analysis

v1.4.1
GPL (>= 3.0)
Authors
Alexander Christensen [aut, cre] (<https://orcid.org/0000-0002-9798-7037>), Guido Previde Massara [ctb] (<https://orcid.org/0000-0003-0502-2789>)
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.