Description Usage Arguments Value Examples
plot the joint latent space with two types of nodes and two types of relations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | Plotaplsm(
Y.i,
Y.ia,
model,
labels = NULL,
plotedgesSocial = TRUE,
plotedgesBipartite = FALSE,
xlab = "",
ylab = "",
edgecolor = "black",
colEll.i = rgb(0.6, 0.6, 0.6, alpha = 0.1),
colEll.ia = rgb(1, 0.6, 0.6, alpha = 0.1),
LEVEL = 0.8,
pchplot = 20,
pchEll = 19,
pchPl = 19,
cexPl = 1.1,
arrowhead = FALSE,
curve = 0,
xlim = c(-2, 2),
ylim = c(-2, 2),
lwdLine = 0.001,
...
)
|
Y.i |
N by N matrix containing the binary social network |
Y.ia |
N by M matrix containing the binary mutlivariate attributes |
model |
model output from the APLSM |
labels |
vector of characters containing the attribute names |
plotedgesSocial |
TRUE or FALSE, whether the social network edges should be plotted |
plotedgesBipartite |
TRUE or FALSE, whether the bipartite edges should be plotted |
xlab |
name of the x axis |
ylab |
name of the y axis |
edgecolor |
color of the edge. Default |
colEll.i |
|
colEll.ia |
|
LEVEL |
levels of confidence bounds shown when plotting the ellipses. Default |
pchplot |
Default |
pchEll |
|
pchPl |
|
cexPl |
|
arrowhead |
logical, if the arrowed are to be plotted. Default |
curve |
curvature of edges. Default |
xlim |
range for x |
ylim |
range for y |
lwdLine |
lwd of edges. Default |
... |
Arguments to be passed to methods, such as graphical parameters (see |
plot
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.