plot.INDSCAL: Plot an INDSCAL group configuration and source weights

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

Given an object of class INDSCAL, generates two plots: the group configuration and the subject weights. Together, these describe a 3-way MDS model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## 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",
  ...
)

Arguments

x

an object of class INDSCAL

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 = 'y', adds ticks to the x axis

yaxt

if = 'y', adds ticks to the y axis

...

optional arguments to the generic plot function

See Also

indscal

Examples

1
2
3
4
5
6
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)

provenance documentation built on May 5, 2021, 1:06 a.m.