LSD (version 4.0-0)

linesplot: One-dimensional scatterplot

Description

Visualize one-dimensional data in its every detail.

Usage

linesplot(x, labels = NULL, col = "black", cols = NULL, alpha = 25,
  xlim = NULL, ylim = NULL, xlab = NULL, ylab = "", las = 1,
  outline = TRUE, cexbox = 0.6, addboxes = FALSE, border = "black",
  range = 1.5, lwd = 1.5, main = "LSD.linesplot", ...)

Arguments

x

numeric data as vector, matrix, list or data.frame.

labels

a character vector of labels.

col

a R build-in color.

cols

a character vector of R build-in colors.

alpha

alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default).

xlim

x limits, standard graphics parameter.

ylim

y limits, standard graphics parameter.

xlab

x label, standard graphics parameter.

ylab

y label, standard graphics parameter.

las

las=1: horizontal text, las=2: vertical text (x-axis labels).

outline

logical: if TRUE (by default), outliers are plotted.

cexbox

a numerical value giving the amount by which the boxes should be magnified relative to the default.

addboxes

logical: if TRUE (FALSE by default), boxplots be added to the plot.

border

a R build-in color for the box and the whiskers (if addboxes = TRUE).

range

this determines how far the plot whiskers extend out from the box.

lwd

linewidth of the box and whiskers.

main

title(s) of the plot, standard graphics parameter.

...

additional parameters to be passed to points and plot.

See Also

demotour, disco, colorpalette

Examples

Run this code
# NOT RUN {
l = list()
for (i in 1:10){l[[i]] = rnorm(100,sqrt(i^2.5),1+i/2)}

linesplot(l,alpha=25,border="darkred",addboxes = TRUE,outline=FALSE)
# }

Run the code above in your browser using DataLab