SampleRandomPointsInHomerange: SampleRandomPointsInHomerange

Description Usage Arguments Details Value

View source: R/home.R

Description

Creates RasterLayers of homerange kernels based on home centroids

Usage

1
2
SampleRandomPointsInHomerange (df_all, df_home, used_pts, base,
  max_r, id, name, output_dir)

Arguments

df_all

dataframe of all homerange centroids

df_home

dataframe of homerange centroids to calculate homerange kernels (these must be a subset of the df_all dataframe), Default is to use 'df_all' dataframe

used_pts

dataframe of points to use for analysis

base

Raster that sets the projection, extent, and dimensions of the study area

max_r

maximum radius to calculate the homerange raster from each df_home centroid

id

column name of df_home that identifies the homerange. Default is NULL, which sets the names to df_home row number.

name

column name of df_home that identifies the name of the homerange and is used to write the file name of the .tif.Default is 'id', which sets the names to df_home row number if 'id' is NULL.

output_dir

directory for output files (, homerange)

write_homerange

logical, write home range raster to file. Default is FALSE.

Details

A list containing homerange kernel Rasters for all the df_home centroids.

Value

A list containing homerange kernel Rasters for all the df_home centroids.


Blakemassey/ibmr documentation built on Dec. 25, 2021, 8:39 a.m.