Learn R Programming

BrailleR (version 0.3)

UniDesc: Descriptive statistics and graphs for univariate data

Description

This function is a convenience function fir analyzing univariate data. It provides histograms, density plots and tabulated results for normality tests as well as those for skewness and kurtosis. The intended use of this function is principally for a blind user of R who also has the advantage of retrieving textual descriptions of the graphs created along the way, via the VI methods.

Usage

UniDesc(ResponseName, Response = NULL, Basic = TRUE, Graphs = TRUE, Normality = TRUE, Tests = TRUE, Folder = "", VI = TRUE)

Arguments

ResponseName
the name of the variable to be analyzed.
Response
a numeric vector. If the default NULL is left in operation, the function uses the ResponseName given above to retrieve the named vector.
Basic
logical asking for basic numeric summary measures
Graphs
logical, indicating if the graphs are to be created. These will be eps files suitable for insertion in LaTeX documents.
Normality
logical asking if the various normality tests offered in the nortest package should be used
Tests
Folder
VI

Value

  • Returns a text file and associated graph files in eps format (if requested) in (optinally: a subfolder of) the current working directory.