get.directions {RGeoS}R Documentation

Generate directions

Description

Generate directions for the variogram calculation

Usage

get.directions(dirvect=NA, ndim=2)

Arguments

dirvect

This argument gives the set of directions provided by the user.

ndim

Space dimension

Details

If 'dirvect' is not defined, a single direction is generated oriented parallel to the first space dimension. If 'dirvect' is provided as a matrix, its first dimension must correspond to the space dimension, the second argument then gives the number of directions. If an error occurs, a single direction is generated parallel to the first space dimension. If 'dirvect' is provided as a single element or a vector, its dimension gives the number of directions. The element of the vector are considered as the rotation angle in the XoY plane of the different direction.

Value

The matrix 'dirtab' which gives the set of directions. Its first dimension corresponds to the space dimension, its second dimension to the number of directions.


[Package RGeoS version 9.1.1 Index]