Learn R Programming

obfuscatoR (version 0.2.2)

Obfuscation Game Designs

Description

When people make decisions, they may do so using a wide variety of decision rules. The package allows users to easily create obfuscation games to test the obfuscation hypothesis. It provides an easy to use interface and multiple options designed to vary the difficulty of the game and tailor it to the user's needs. For more detail: Chorus et al., 2021, Obfuscation maximization-based decision-making: Theory, methodology and first empirical evidence, Mathematical Social Sciences, 109, 28-44, .

Copy Link

Version

Install

install.packages('obfuscatoR')

Version

0.2.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

September 7th, 2023

Functions in obfuscatoR (0.2.2)

.onAttach

Print package startup message
extract_attr

Extract attributes
print_entropy

Prints the entropy of the different actions
generate_designs

Generate obfuscation designs
last

Get the last element of a vector
print_payout

Print the payouts
calc_payout_dm

Calculate expected payout to the decision maker
calculate_entropy

Calculate the entropy of each action in the design
calc_entropy

Calculate Shannon's Entropy
check_design_opt

Check design options
calc_payout_obs

Calculate expected payout to the observer
calc_pr_aj_rk

Calculate Pr(a_j|r_k)
obfuscatoR-package

obfuscatoR: Obfuscation Game Designs
print_design

Prints the design
construct_design

Function to create a rule-action matrix
calculate_payouts

Calculate payouts
calc_pr_guess

Calculate the probability that the observer will try to guess the rule
save_design

Save obfuscation designs
calc_pr_rk_aj

Calculate Pr(r_k|a_j)