get.directions {RGeostats}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

Value

The matrix which gives the set of directions. Its first dimension corresponds to the space dimension, its second dimension to the number of directions. Each direction is defined by its normalized vector.

Examples

# Specifying the (default) direction OX in the (default) 2-D space
get.directions()

# Specifying the (default) direction OX in the 3-D space
get.directions(ndim=3) 

# Specifying the vertical direction in a 3-D space as a matrix
get.directions(matrix(c(0,0,1)))

# Specifying OX and OY directions in a 3-D space
get.directions(c(0,90),ndim=3)

# Specifying the 3 main directions in 3-D as a matrix
get.directions(diag(3))


[Package RGeostats version 14.0.10 Index]