Learn R Programming

LSD (version 2.5)

linesplot: Linesplot

Description

One-dimensional scatterplot with the option to add a boxplot

Usage

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

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

Arguments

x
data as vector, matrix, list or data.frame
labels
vector of labels
col
standard color
cols
vector of colors
alpha
alpha value for color opacity
xlim
xlimits, standard graphics parameter
ylim
ylimits, standard graphics parameter
xlab
xlab, standard graphics parameter
ylab
ylab, standard graphics parameter
las
las=1: horizontal text, las=2: vertical text (x-axis labels)
outline
should outliers be plotted
cexbox
cex of the boxes
addboxes
should boxplots be added
border
color of the box and whiskers
range
this determines how far the plot whiskers extend out from the box
lwd
linewidth of the box and whiskers
main
title of the plot
...
additional parameters to be passed to points and plot

See Also

heatboxplot,LSD.demo.tour

Examples

Run this code
demo.linesplot()

Run the code above in your browser using DataLab