disclosure_risk: Calculate disclosure risk for raster cells

Description Usage Arguments Details Value See Also

View source: R/disclosure_risk.R

Description

The disclosure risk function is used by is_sensitive() to determine the risk of a raster cell. It returns a score between 0 and 1 for cells that have a finite value (otherwise NA).

Usage

1
disclosure_risk(x, risk_type = x$risk_type)

Arguments

x

sdc_raster object.

risk_type

character: "external", "internal", "discrete".

Details

Different risk functions include:

Value

raster::raster object with the disclosure risk.

See Also

Other sensitive: is_sensitive, plot_sensitive, remove_sensitive, sdc_raster, sensitivity_score


sdcSpatial documentation built on July 20, 2019, 1:04 a.m.