Plots individual units, all units, groups of units, networks, and network subtractions
Usage
ena.plotter(
set,
groupVar = NULL,
groups = NULL,
points = FALSE,
mean = FALSE,
network = TRUE,
networkMultiplier = 1,
subtractionMultiplier = 1,
unit = NULL,
colors = NULL,
confidence.interval = "box",
print.plots = F,
...
)Arguments
- set
an ena.set object
- groupVar
vector, character, of column name containing group identifiers.
- groups
vector, character, of values of groupVar column you wish to plot. Maxium of two groups allowed.
- points
logical, TRUE will plot points (default: FALSE)
- mean
logical, TRUE will plot the mean position of the groups defined in the groups argument (default: FALSE)
- network
logical, TRUE will plot networks (default: TRUE)
- networkMultiplier
numeric, scaling factor for non-subtracted networks (default: 1)
- subtractionMultiplier
numeric, scaling factor for subtracted networks (default: 1)
- unit
vector, character, name of a single unit to plot
- colors
vector, character, of colors for groups or points. For two-group models supply two values (group1, group2); for single-group or no-group models supply one value. Defaults to "blue"/"red" for two groups and "black" otherwise.
- confidence.interval
character, style of confidence interval shown on mean points: "box" (default), "crosshairs", or "none"
- print.plots
logical, TRUE will show plots in the Viewer (default: FALSE)
- ...
Additional parameters passed to set creation and plotting functions
