Quadrat: Generator of Quadrat objects

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

Create a Quadrat object representing a planar quadrat (rectangle).

Usage

1
Quadrat(hsize, vsize=hsize)

Arguments

hsize

the horizontal side length.

vsize

the vertical side length. Default: hsize.

Value

An object of Quadrat-class.

See Also

Quadrat-class, generators Segment, PointPattern.

Examples

1
Quadrat(2,1)

Example output

Loading required package: gsl
Loading required package: R2Cuba
An object of class "Quadrat"
Slot "dimspace":
[1] 2

Slot "coord":
     [,1]
[1,]    2
[2,]    1

pgs documentation built on May 29, 2017, 5:30 p.m.