Given an object of class INDSCAL
, generates two plots: the
group configuration and the subject weights. Together, these
describe a 3-way MDS model.
# S3 method for INDSCAL
plot(
x,
asp = 1,
pch = NA,
pos = NULL,
col = "black",
bg = "white",
cex = 1,
xlab = "X",
ylab = "Y",
xaxt = "n",
yaxt = "n",
option = 2,
...
)
an object of class INDSCAL
the aspect ratio of the plot
plot symbol (may be a vector)
position of the sample labels relative to the plot symbols if pch != NA
plot colour (may be a vector)
background colour (may be a vector)
relative size of plot symbols
a string with the label of the x axis
a string with the label of the y axis
if = 's', adds ticks to the x axis
if = 's', adds ticks to the y axis
either:
0
: only plot the group configuration, do not show the source
weights
1
: only show the source weights, do not plot the group
configuration
2
: show both the group configuration and source weights in
separate windows
optional arguments to the generic plot function
indscal
data(Namib)
coast <- c('N1','N2','N3','N10','N11','N12','T8','T13')
snames <- names(Namib$DZ)
pch <- rep(21,length(snames))
pch[which(snames %in% coast)] <- 22
plot(indscal(Namib$DZ,Namib$HM),pch=pch)
Run the code above in your browser using DataLab