You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Becca Krouse edited this page Aug 1, 2018
·
2 revisions
explorer()
Produces an interactive codebook explorer to explore data frames within the RStudio viewer, a web browser, or an Rmarkdown or HTML document.
Param
Type
Description
data
list or chr containing the names of data frames
data to be summarized
addEnv
logical
specifies whether to load all data-frames in current R environment (default = FALSE)
demo
list
specifies whether to load sample data sets and ignore other options (default = FALSE)
Examples
The code below shows how to initialize explores for several different use cases
### Generate explorer using all data loaded into R session (default).
explorer(data=NULL, addEnv=TRUE)
### Provide a list of (optionally named) data frames.
explorer(data=list(Cars=mtcars, Iris=iris))
### Alternatively, provide data frames currently loaded in R session as a character vector.
explorer(data= c("mtcars","iris"))
### Generate explorer using data from the datasets package.
explorer(demo=TRUE)