documentation: Documents number of observations and variables for merging...

Description Usage Arguments Author(s) Examples

View source: R/documentation.R

Description

The documentation() function replicates some of the output found in the SAS log. When loading or merging datasets, calling documentation() on any number of data frames will return the number of observations and number of variables. This can be compared to the final merged dataset to spot-check that no variables or observations were dropped.

Usage

1

Arguments

...

data frames requiring documentation. The user can insert as many dataframes as necessary to check, separated by a coma.

Author(s)

Brian Carter and James Hodge

Examples

1
2
3
mydata1 <- data.frame(x=1:5,y=x^2)
mydata2 <- data.frame(a=letters[1:10],b=rnorm(10,5))
document(mydata1,mydata2)

buddha2490/BERG documentation built on Feb. 7, 2020, 6:01 p.m.