desc: Variable Descriptive Statistics

View source: R/desc.R

descR Documentation

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)


AlexChristensen/NetworkToolbox documentation built on March 6, 2023, 5:08 p.m.