Topic: Spatial

Topic Description:

Functions for calculating Ripley's K from CTFS R Analytical Tables, many routines for quadrat-based calculations. and calculations of wavelet variance.



File: spatial/slope.r

Package Source Not Available No help file available

Function: calc.gradient

Function Description: calc.gradient

Calculate flow using Seibert & McGlynn algorithm. Takes a 3x3 matrix of elevations and works on central point; also requires grid size (usually 20 m) z=matrix(c(c(268.7,275.9,283.2),c(275.9,282.8,290.0),c(283.2,290.0,297)),nrow=3,byrow=TRUE) This calculates the gradient for the 8 triangular facets around the center point, following Seibert & McGlynn The output is a data.frame of direction and slope for the 8 facets, starting with the lower left and moving clockwise

Function Arguments:

ArgumentDefault Value
elev
grid20
elev
grid20

Function Source:

No function source available.