plot.INDSCAL | R Documentation |
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 class '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,
...
)
x |
an object of class |
asp |
the aspect ratio of the plot |
pch |
plot symbol (may be a vector) |
pos |
position of the sample labels relative to the plot symbols if pch != NA |
col |
plot colour (may be a vector) |
bg |
background colour (may be a vector) |
cex |
relative size of plot symbols |
xlab |
a string with the label of the x axis |
ylab |
a string with the label of the y axis |
xaxt |
if = 's', adds ticks to the x axis |
yaxt |
if = 's', adds ticks to the y axis |
option |
either:
|
... |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.