View source: R/utils-enact-privacy-rule.R
enact_privacy_rule | R Documentation |
Apply the confidentiality rule to spatial data. Copied from the gfplot package
enact_privacy_rule(dat, bin_width, n_minimum_vessels, x_lim, y_lim)
dat |
Data from |
bin_width |
Bin width as defined in |
n_minimum_vessels |
The minimum number of vessels that must be present in a hexagon for the hexagon to be shown |
x_lim |
The length-2 vector representing the minimum and maximum limits of the x-axis |
y_lim |
The length-2 vector representing the minimum and maximum limits of the y-axis |
Removes data which does not satisfy the confidentiality rules; the minimum number of vessels with catch in a specific area
A list containing 1) the data frame dat
but with rows removed that
do not fulfill the privacy limitations, 2) The total number of fishing
events removed due to privacy limitations, and 3) The total number of
fishing events in dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.