linesplot: One-dimensional scatterplot

Description Usage Arguments Author(s) See Also Examples

View source: R/LSD.linesplot.r

Description

Visualize one-dimensional data in its every detail.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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.

Author(s)

Bjoern Schwalb

See Also

demotour, disco, colorpalette

Examples

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

Example output



LSD documentation built on July 2, 2020, 4:14 a.m.

Related to linesplot in LSD...