raffle_pdf_airbnb: Helper function specifying the probability density function

raffle_pdf_airbnbR Documentation

Helper function specifying the probability density function

Description

raffle_pdf_airbnb specifies the probability density function which Airbnb uses to obfuscate listing locations.

Usage

raffle_pdf_airbnb(x)

Arguments

x

An st_coordinates object, converted to sp.

Details

A function which specifies the probability density function which Airbnb uses to obfuscate listing locations (a radially symmetric normal distribution with mean 100 m and standard deviation 50 m, truncated at r = 0 and r = 200). In the future, other PDFs may be added.

Value

The output will be a numerical vector of probabilities.


UPGo-McGill/strr documentation built on Feb. 24, 2024, 6:15 p.m.