Plot a directed ena model

# S3 method for ena.directed.set
plot(
  x,
  ...,
  units = NULL,
  dimensions = 1:2,
  print_plot = TRUE,
  multiplier = 5,
  multiplier_nodes = multiplier,
  multiplier_edges = multiplier,
  with_mean = FALSE,
  with_points = FALSE,
  with_edges = TRUE,
  with_nodes = TRUE,
  with_node_labels = TRUE,
  only_sending_centroid = FALSE,
  self_connections_in_center = TRUE,
  node_center_diameter = "self",
  node_outer_diameter = "response",
  node_size_dynamic = TRUE,
  node_shape = "circle",
  node_color = "#000000",
  edge_scale = c(0.5, 1),
  scale_points = TRUE,
  colors = NULL,
  title = NULL,
  plot_width = NULL,
  plot_height = plot_width
)

Arguments

x

ena.set.directed to plot

...

parameters to pass along - Not yet implemented

units

List

dimensions

numeric vector of length two

print_plot

logical

multiplier

logical

multiplier_nodes

logical

multiplier_edges

logical

with_mean

logical

with_points

logical

with_edges

logical

with_nodes

logical

with_node_labels

logical

only_sending_centroid

logical

self_connections_in_center

logical

node_center_diameter

character, either "self" (default), "response", or "ground"

node_outer_diameter

character, either "self", "response" (default), or "ground"

node_size_dynamic

logical

node_shape

character, see: https://plotly.com/r/reference/#scatter-marker-symbol

node_color

Default: "#000000"

edge_scale

TBD

scale_points

logcical, default: TRUE

colors

matrix, see directedENA:::COLORS_HSV

title

character, default is empty

plot_width

numeric, default is NULL allowing for dynamic sizing

plot_height

see plot_width

Value

ENA model with plot attached

Examples

data("RS.data", package = "rENA") rs_code_cols <- colnames(RS.data)[15:20] rs_set_one <- directed_ena(RS.data, units = c("Condition", "GroupName", "UserName"), conversations = c("Condition", "GroupName", "ActivityNumber"), codes = rs_code_cols, binary = TRUE, rotation_on = "response", optimize_on = "response", windowSize = 4, print_plot = FALSE ) plot(rs_set_one)
#> Warning: `arrange_()` is deprecated as of dplyr 0.7.0. #> Please use `arrange()` instead. #> See vignette('programming') for more help #> This warning is displayed once every 8 hours. #> Call `lifecycle::last_warnings()` to see where this warning was generated.