Learn R Programming

morphomap (version 1.5)

morphomapRegradius: morphomapRegradius

Description

Wrapper of the function regularradius written by Julien Claude (Morphometrics with R)

Usage

morphomapRegradius(mat, center, n)

Value

V2 position of landmarks equi angular spaced

Arguments

mat

a kx2 matrix

center

coordinates of the center from which the calculation of regular radius started

n

number of points

Author

Julien Claude, Antonio Profico

References

Claude, J. (2008). Morphometrics with R. Springer Science & Business Media.

Examples

Run this code
extsec<-morphomapCircle(10,1000)
sel<-morphomapRegradius(extsec,center = c(0,0),n=11)
selcoo<-extsec[sel,]
plot(extsec,type="l",asp=1)
points(selcoo,col="red",pch=19)

Run the code above in your browser using DataLab