pcdf: pcdf

Description Usage Arguments Value

Description

Estimates the empirical probability and cumulative density (mass) functions for a dataframe of raster cell values. This function is mostly used internally.

Usage

1
pcdf(traindf, interpolate = F)

Arguments

traindf

A dataframe of raster cells. Each row should be a single cell. Each column should be a variable of interest (e.g., elevation, slope, etc).

inteprolate

Should the cdf(s) be interpolated to estimate a continuous pdf? Defaults to False. Ideally, all data should be rounded (effectively binned) before it's brought into R for lamap analysis. So, interpolation should not be used. It would undermine one of the fundamental advantages of of the lamap theory—namely, that multimodal terrain traits could be important for predictive modelling. Unless the data are very high resolution, interpolating could erroneously 'smooth out' the very features of the spatial cdfs that were important to site location.

Value

List containing pcdfs.


wccarleton/Rlamap documentation built on May 24, 2019, 7:50 a.m.