off {dwp}R Documentation

Utility Function for Constructing Offsets for GLMs

Description

This is a simple utility function for calculating offsets when exposure is assumed to be 100 calculating fitted distributions (PDF and CDF) but cannot be used in the fitting of the distributions themselves because it does not account for incomplete search coverages at given distances.

Usage

off(r, distr)

Arguments

r

vector of distances

distr

name of the distribution to calculate the offset for

Value

A vector of offset values to use with distances r when fitting the distr model.


[Package dwp version 1.1 Index]