Skip to contents

Visualizes list of procedures.

Usage

visualize(
  procedures_list,
  save_to_file = NULL,
  save_as = NULL,
  width = NULL,
  height = NULL,
  ...
)

Arguments

procedures_list

List of procedures. See sandardize for how to specify of procedures list. Or it can be a character string for standard procedure list (e.g., 'eee-ppat' for Magerman et al., 2006 procedures).

save_to_file

If set tries to save visualization to file in the format save_as with dot system command (should be installed on your system). If it is NULL tries to open the visualization in browser (this requires DiagrammeR R package to be installed.)

save_as

Type of file to save if save_to_file is not NULL. If not specified (i.e. NULL) then it tries to guess the type of file from save_to_file extention. Currently "png", "svg" and "pdf" are supported.

width

width of the procedures graph in pixels

height

height of the procedures graph in pixels

...

Arguments passed on to make_dot_graph

Value

An object of class ‘htmlwidget’ that can be used in Rmarkdown or a file name, i.e. the value of save_to_file is it is not NULL.