View source: R/check_quality.R
workspace_sapply | R Documentation |
Applies a function over all objects of a specific class in the global environment
workspace_sapply(object_class, action = "summary")
object_class |
Class of the objects where the function is to be applied |
action |
Name of the function to apply |
Results of the function
df1 <- data.frame(x=rnorm(10), y=rnorm(10, 1, 2))
df2 <- data.frame(x=rnorm(20), y=rnorm(20, 1, 2))
workspace_sapply("data.frame", "summary") #Gives a summary of each data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.