View source: R/sensitivity_score.R
sensitivity_score | R Documentation |
sensitivity_score
calculates the fraction of cells (with a value)
that are considered sensitive according to the used disclosure_risk
sensitivity_score(x, max_risk = x$max_risk, min_count = x$min_count, ...)
x |
|
max_risk |
a risk value higher than |
min_count |
a count lower than |
... |
passed on to |
Other sensitive:
disclosure_risk()
,
is_sensitive_at()
,
is_sensitive()
,
plot_sensitive()
,
remove_sensitive()
,
sdc_raster()
consumption <- sdc_raster(dwellings[1:2], variable = dwellings$consumption, r = 500) sensitivity_score(consumption) # same as print(consumption) # change the rules! A higher norm generates more sensitive cells sensitivity_score(consumption, min_count = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.