about_data: Returns the Number of Observations and Variables in a Data...

Description Usage Arguments Value Examples

View source: R/about_data.R

Description

Sometimes you will want to post documents (e.g., R markdown) in a public forum (e.g., GitHub), but you don't want to reveal any raw data values. In such a case, using str() or glimpse() may be problematic. about_data() is a simple function that returns the number of observations and variables in a data frame, but none of the data values.

Usage

1

Arguments

x

A data frame

...

Additional arguments

Value

A character string

Examples

1
2
3

brad-cannell/my_functions documentation built on July 25, 2019, 4:29 p.m.