puntosMedios: Connect 2D coordinates points

Description Usage Arguments Details Value See Also Examples

View source: R/Fisheyer_Functions.r

Description

puntosMedios connects points in 2D coordinates. A function taking 2D coordinates given and joining the corresponding points.

Usage

1
puntosMedios(Pcoords, detalle = 5)

Arguments

Pcoords

matrix object with coordinates

detalle

Detail

Details

See example below

Value

An object of class matrix with coordinates of the connectors.

See Also

plotPOI, lines

Examples

1
2
3
4
   obj <- matrix(c(.5,0,0,.5, -.5,0, 0,-.5), ncol = 2, byrow = TRUE)
   plot(0, 0, col = 'white')
   points(puntosMedios(obj), col = 'yellow', type = 'l')
   points(obj, col = 'blue')   

fisheyeR documentation built on May 2, 2019, 12:47 a.m.