freqtab
## S3 method for class 'freqtab':
plot(x, y = NULL, xcol = 1, ycol, pch = 16,
ylty = 1, xlab = "Total Test", addlegend = !missing(y),
legendtext, ...)
## S3 method for class 'freqtab':
points(x, xcol = 1, pch = 16, ds = 50, dm = 100, ...)
freqtab
freqtab
x
. See below for details.x
and y
.y
.legend
argument of the legend
function, defaulting to column names used in y
.x
to the [0, 255] range of RGB values.col
, type
, and pch
.type = "h"
. Frequencies from y
are then superimposed. The bivariate option produces a scatterplot with a marginal frequency plot for each distribution.x
is added to the current opened plot.For the plot method, when x
is univariate, i.e, having 2 columns, a frequency plot is created for x
. When x
is bivariate, e.g., coming from a single group equating design or one form of a nonequivalent groups design, a scatterplot is produced with frequency plots for the marginal distributions.
y
is used to superimpose lines, e.g., smoothed frequencies, over the (marginal) frequencies of x
.
Colors must be specified using xcol
and ycol
. When ycol
is missing, a vector of colors is created using rainbow(ncol(y))
.
plot.table
, plot.equate
, lines
, points
x <- freqtab(KBneat$x, scales = list(0:36, 0:12))
plot(x)
xs <- loglinear(x, degrees = c(4, 1),
stepup = TRUE, showWarnings = FALSE)
plot(x, xs, lwd = 2)
Run the code above in your browser using DataLab