plot the joint latent space with two types of nodes and two types of relations
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,
...
)
N by N matrix containing the binary social network
N by M matrix containing the binary mutlivariate attributes
model output from the APLSM
vector of characters containing the attribute names
TRUE or FALSE, whether the social network edges should be plotted
TRUE or FALSE, whether the bipartite edges should be plotted
name of the x axis
name of the y axis
color of the edge. Default edgecolor = "black"
col
for the ellipses of persons. Default rgb(.6, .6 ,.6 , alpha=.1)
col
for the ellipses of atributes. Default rgb(1, .6 ,.6 , alpha=.1)
levels of confidence bounds shown when plotting the ellipses. Default LEVEL = .95
Default pchplot = 20
pch
for the ellipses. Default pchEll = 19
pch
for the points representing the nodes. Default pchPl = 19
cex
for the points representing the nodes. Default cexPl = 1.1
logical, if the arrowed are to be plotted. Default arrowhead = FALSE
curvature of edges. Default curve = 0
range for x
range for y
lwd of edges. Default lwdLine = .3
Arguments to be passed to methods, such as graphical parameters (see par
).
plot
# NOT RUN {
attach(french)
b=aplsm(Niter=3,Y.i, Y.ia,D=2, type="DD")
Plotaplsm(Y.i, Y.ia, b)
# }
Run the code above in your browser using DataLab