plot the latent space with two types of nodes and one type of relations
Plotblsm(
Y.ia,
model,
labels = NULL,
xlab = "",
ylab = "",
plotedges = TRUE,
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 M matrix containing the binary multivariate attributes
model output from BLSM
vector of characters containing the item names
name of the x axis
name of the y axis
TRUE or FALSE, whether the bipartite edges should be plotted
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 attributes 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)
a=blsm(Niter=3,Y.ia,D=2)
Plotblsm(Y.ia, a)
# }
Run the code above in your browser using DataLab