qexpl | R Documentation |
A set of standard visualizations of interaction, audio, and body movement data.
qexpl(
x,
measure = NULL,
title = "",
size = 1,
colour = NULL,
alpha = 1,
leg.pos = "none"
)
x |
Data frame with sociometric data. |
measure |
String. For dataframes of type |
title |
String. Title for the graphic |
size |
Numeric. Width of geom_line or size of geom_point. |
colour |
String. Name of the column to map on aesthetic colour. |
alpha |
Numeric 0..1. 0 is completely transparent, 1 is completely obscure. |
leg.pos |
String. In case colour mapping is used, indicates position of the legend, either "bottom", "top", "left", "right" |
graphic object
data("smtrx")
#print interaction data
qexpl(df.interact)
#add unidirectional edge column, named "Pairs"
df.interact <- mreverse(df.interact, into="Pairs")
qexpl(df.interact, colour="Pairs", title="Interaction pairs")
#print volume
qexpl(df.vol)
#print pitch
df.pitch %>%
filter(ids=c("3119", "3184")) %>%
qexpl(size=.2, title="Pitch", leg.pos="right")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.