dlines {calibrate}R Documentation

Connect two sets of points by lines

Description

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

Usage

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

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)

[Package calibrate version 1.7.7 Index]