dlines: Connect two sets of points by lines

Description Usage Arguments Value Author(s) See Also Examples

Description

dlines connects two sets of points by lines in a rowwise manner.

Usage

1
dlines(SetA, SetB, lin = "dotted")

Arguments

SetA

matrix with the first set of points

SetB

matrix with teh second set of points

lin

linestyle for the connecting lines

Value

NULL

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

See Also

lines

Examples

1
2
3
4
5
6
X <- matrix(runif(20),ncol=2)
Y <- matrix(runif(20),ncol=2)
plot(rbind(X,Y))
text(X[,1],X[,2],paste("X",1:10,sep=""))
text(Y[,1],Y[,2],paste("Y",1:10,sep=""))
dlines(X,Y)

calibrate documentation built on July 1, 2020, 7:03 p.m.