Description Usage Arguments Author(s) Examples
View source: R/documentation.R
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.
1 |
... |
data frames requiring documentation. The user can insert as many dataframes as necessary to check, separated by a coma. |
Brian Carter and James Hodge
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.