View source: R/multiwave_diagram.R
multiwave_diagram | R Documentation |
Takes a multiwave object as input and plots a diagram of its structure
in the plotting window using grViz()
from the DiagrammeR
package. Red boxes indicate slots that have not yet been
filled, blue boxes indicate that the slot is filled.
multiwave_diagram(x, height = NULL, width = NULL)
x |
An object of class |
height |
The height in pixels of the diagram. Defaults to |
width |
The width in pixels of the diagram. Defaults to |
Returns an object of class htmlwidget
displaying the structure of the x
.
MySurvey <- multiwave(phases = 2, waves = c(1, 3))
multiwave_diagram(MySurvey)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.