Learn R Programming

summarytools (version 0.6.5)

parse_arg: Extract Information About Data From x Argument

Description

Used internally to extract information on the data being described. For instance, when calling descr(exams$math), “exams$math” is passed to it as a string, and the function will determine that “exams” is a dataframe and “math” is a variable. The function will also extract subsetting information if present.

Usage

.parse_arg(arg.str)

Arguments

arg.str
Corresponds to the x argument of the three main functions of the package, namely freq(), descr() and dfSummary().

Value

A list comprised of: A list comprised of:

Details

The extracted attributes are attached to the objects generated by freq(), descr() or dfSummary().

References

https://github.com/dcomtois/summarytools