Learn R Programming

BCA (version 0.9-3)

variable.summary: Basic summary information of the variables of a data frame

Description

The function returns a data frame where, the row names correspond to the variable names, and a set of columns with summary information for each variable. Its purpose is to allow the user to quickly scan the data frame for potentially problematic variables.

Usage

variable.summary(dframe)

Arguments

Value

The returned data frame contains the variables Class (numeric, integer,factor, or character), missing values), Levels (the levels of a factor variable, or NA for non-factor variables), Min.Level.Size (the number of cases for the smallest level of a factor, or NA for a non-factor), Mean (the mean of non-missing cases for a numeric or integer variable, or NA for factor and character variables), and SD (the standard deviation of non-missing cases for a numeric or integer variable, or NA for factor and character variables).

Examples

Run this code
data(CCS)
  variable.summary(CCS)

Run the code above in your browser using DataLab