Learn R Programming

pgs (version 0.4-0)

Segment: Generator of Segment objects

Description

Generate a Segment object representing a line segment starting at the origin.

Usage

Segment(end)

Arguments

end
a vector containing the Cartesian coordinates of the end point which does not lie at the origin.

Value

An object of Segment-class.

See Also

Segment-class, generators Quadrat, PointPattern.

Examples

Run this code
Segment(c(1,0))

Run the code above in your browser using DataLab