Usage
interactive.eda_d3js(data, type = "scatterChart",
dep_var = colnames(data)[1], indep_var = "None", group_var = "None",
filter_var = "None", plot_width = 1500, plot_height = 820,
f_back = "red", side_width = 300)
Arguments
data
Type: data.table (preferred) or data.frame. The data you want to explore. Using a data.table increases the processing speed.
type
Type: character. The type of plot requested to d3js nvds. You may choose between "lineChart"
, "scatterChart"
, "stackedAreaChart"
, "discreteBarChart"
, "multiBarChart"
, "multiBarHorizontalChart"
, "linePlusBarChart"
, "cumulativeLineChart"
, "lineWithFocusChart"
, "pieChart"
, "bulletChart"
. Defaults to "scatterChart"
.
dep_var
Type: character (currently overriden). The dependent variable to plot. Defaults to colnames(data)[1]
, a reference to the first column of data
.
indep_var
Type: character (currently overriden). The independent variable to plot. Defaults to "None"
.
group_var
Type: character (currently overriden). The grouping variable to plot. Defaults to "None"
.
filter_var
Type: character (feature currently broken). The filtering variable to plot. Defaults to "None"
.
plot_width
Type: numeric. The width for the plot. Defaults to 1500
, which fits nicely Full HD screens (1920 vertical pixels).
plot_height
Type: numeric. The height for the plot. Defaults to 820
, which fits nicely Full HD screens (1080 vertical pixels).
f_back
Type: character. A background color character for the header. Defaults to "red"
.
side_width
Type: numeric. The width of the sidebar containing variable names. Defaults to 300
.