gwalkr {GWalkR} | R Documentation |
Create GWalkR Interface in "Viewer"
Description
Use this function to create a GWalkR interface from a given data frame in your "Viewer" window, and start your data exploration! Please make sure the width and the height of your "Viewer" window are large enough.
Usage
gwalkr(
data,
lang = "en",
dark = "light",
columnSpecs = list(),
visConfig = NULL,
visConfigFile = NULL
)
Arguments
data |
A data frame to be visualized in the GWalkR. The data frame should not be empty. |
lang |
A character string specifying the language for the widget. Possible values are "en" (default), "ja", "zh". |
dark |
A character string specifying the dark mode preference. Possible values are "light" (default), "dark", "media". |
columnSpecs |
An optional list of lists to manually specify the types of some columns in the data frame.
Each top level element in the list corresponds to a column, and the list assigned to each column should have
two elements: |
visConfig |
An optional config string to reproduce your chart. You can copy the string by clicking "export config" button on the GWalkR interface. |
visConfigFile |
An optional config file path to reproduce your chart. You can download the file by clicking "export config" button then "download" button on the GWalkR interface. |
Value
An htmlwidget
object that can be rendered in R environments
Examples
data(mtcars)
gwalkr(mtcars)