Learn R Programming

itsadug (version 0.8)

summary_data: Utility function.

Description

The function prints a summary of the data. Similar to the function str, but easier readable.

Usage

summary_data(data, print = TRUE, n = 10)

Arguments

data
A data frame.
print
Logical: whether or not to print the summary.
n
Number: maximum number of values being mentioned in the summary. If NULL all values are being mentioned. Defaults to 10.

Value

  • Optionally returns a named list with info.

See Also

Other Data utility functions: findAbsMin; find_n_neighbors; group_sort; move_n_point; print_summary

Examples

Run this code
data(simdat)
summary_data(simdat)

Run the code above in your browser using DataLab