Description Usage Arguments Details Value Author(s) References See Also Examples
This function creates a widget to allow users to view the content of a data frame passed and decide whether to save the data or not.
1 | dataViewer(data, caption = "", save = TRUE)
|
data |
|
caption |
|
save |
|
Taking a data frame as one of the arguments, this function builds a widget that allows users to view the content of the data and save the data as a file.
This function does not return any value
Jianhua Zhang
R tcltk
1 2 3 4 5 6 | # Create matrix
data <- matrix(1:20, ncol = 4)
if(interactive()){
# View data using dataViewer
dataViewer(data, "test", TRUE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.