Learn R Programming

NetworkToolbox (version 1.2.2)

desc: Variable Descriptive Statisitcs

Description

Computes mean, standard deviaiton (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)

Examples

Run this code
# NOT RUN {
desc(neoOpen,1)

# }

Run the code above in your browser using DataLab