freqtab
plot.freqtab(x, y, col1 = "gray27", col2 = "gray74", pch=16,
yoffset = 0.3, ...)
freqtab
freqtab
x
(see details)x
, and in plotting both variables in bivariate x
y
par
) used in bivariate scatterplotx
scale points, when plotting lines for y
col
type="h"
. The bivariate option produces a scatterplot with a marginal barplot for each distribution.x
is bivariate y
is ignored. Otherwise x
and y
are (currently) assumed to be on the same scale, which determines the x-axis.
Colors must be specified using col1
and col2
plot.table
, lines
xscale <- 0:36
vscale <- 0:12
neat.xv <- freqtab(xscale, KBneat$x[, 1],
vscale, KBneat$x[, 2])
plot(neat.xv)
neat.x <- freqtab(xscale, KBneat$x[, 1])
neat.v <- freqtab(vscale, KBneat$x[, 2])
plot(neat.x, neat.v, lwd = 2)
Run the code above in your browser using DataLab