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/quadfunc.r

View File Source Download File No help file available

Function: gxgy.to.rowcol

Function Description: gxgy.to.rowcol

Returns row and column for any set of coordinates. Rows and columns both start at 1, not 0.

Function Arguments:

ArgumentDefault Value
gx
gy
gridsize20
plotdimc(1000,500)

Function Source:

gxgy.to.rowcol=function(gx,gy,gridsize=20,plotdim=c(1000,500))
{
index=gxgy.to.index(gx,gy,gridsize,plotdim)
return(index.to.rowcol(index,gridsize,plotdim))
}