Description Usage Arguments Details Value Author(s) Examples

View source: R/mkdeFunctions.R

Define the spatial extent and resolution of a 3D MKDE and create an 3D MKDE list object for use in other functions in the package.

1 2 | ```
initializeMKDE3D(xLL, xCellSize, nX, yLL, yCellSize, nY,
zLL, zCellSize, nZ)
``` |

`xLL` |
Lower bounds of the grid in the x-dimension |

`xCellSize` |
Cell size in the x-dimension |

`nX` |
Number of cells in the x-dimension |

`yLL` |
Lower bounds of the grid in the y-dimension |

`yCellSize` |
Cell size in the y-dimension |

`nY` |
Number of cells in the y-dimension |

`zLL` |
Lower bounds of the grid in the z-dimension |

`zCellSize` |
Cell size in the z-dimension |

`nZ` |
Number of cells in the z-dimension |

It is strongly recommended that the same value is used for `xCellSize`

and
`yCellSize`

. The grid should be defined so that it covers the volume that
the animal used, plus a sufficient buffer so that the density is
negligable beyond the grid.

A list representing an MKDE object is returned with the following elements:

`dimension` |
The dimension of the MKDE; that is, 3. |

`x` |
A grid of points along the x-axis where the voxel centers occur. |

`y` |
A grid of points along the y-axis where the voxel centers occur. |

`z` |
A grid of points along the z-axis where the voxel centers occur. |

`z.min` |
A 2D array representing the lower bounds of space in the z-dimension at each x and y coordinate. Defaults to a constant value based on the arguments zLL, zCellSize,and nZ. |

`z.max` |
A 2D array representing the upper bounds of space in the z-dimension at each x and y coordinate. Defaults to a constant value based on the arguments zLL, zCellSize,and nZ. |

`nx` |
Number of cells in the x-dimension. |

`ny` |
Number of cells in the y-dimension. |

`nz` |
Number of cells in the z-dimension. |

`d` |
A 3D array with dimensions (nx, ny, nz) that stores the density. The elements are initialized toNA. |

Jeff A. Tracey, PhD

USGS Western Ecological Research Center, San Diego Field Station

[email protected]

James Sheppard, PhD

San Diego Zoo Institute for Conservation Research

[email protected]

1 2 3 4 5 6 7 8 9 10 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.