Learn R Programming

morphomap (version 1.5)

morphomapCircle: morphomapCircle

Description

Define a circular outline

Usage

morphomapCircle(r = 1, n = 1000)

Value

mat matrix with coordinates

Arguments

r

numeric: radius of the outline

n

numeric: number of points along the outline

Author

Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi

Examples

Run this code
extsec<-morphomapCircle(10,100)
intsec<-morphomapCircle(8,100)
plot(extsec,asp=1,type="l")
points(intsec,type="l",col=2)

Run the code above in your browser using DataLab