ERPExplorer.create_plot!
— Method- plots is a spec-api list to push into
- data is the dataframe to be subsetted
- vars contains the levels to be plotted
ERPExplorer.formular_widgets
— Methodformular_widgets(model_variables)
Creates widgets to control each variable of a model. Return values:
widget_signal
: a signal that emits a dictionary with the current values of the widgets.formular_widget
: The HTML element that can be displayed to interact with the the widgetsvalue_ranges
: A dictionary with the value ranges of each variable.
ERPExplorer.plot_data
— Methodplot_data(data, value_ranges, categorical_vars, continuous_vars, mapping_obs)
+- `data`: effects(Dict(...), m)
+- `value_ranges`:
+- `categorical_vars`:
+- `continuous_vars`:
+- `mapping`: Dict name=>property
output ::DataFrames
Internally, we use a PlotConfig
struct to keep track of common plotting options, so that all functions have a similar API.