Learn R Programming

⚠️There's a newer version (0.2.2) of this package.Take me there.

obfuscatoR (version 0.2.1)

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')

Monthly Downloads

276

Version

0.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Erlend Dancke Sandorf

Last Published

November 19th, 2020

Functions in obfuscatoR (0.2.1)

calc_pr_aj_rk

Calculate Pr(a_j|r_k)
save_design

Save obfuscation designs
extract_attr

Extract attributes
.onAttach

Print package startup message
print_payout

Print the payouts
print_entropy

Prints the entropy of the different actions
print_design

Prints the design
obfuscatoR

obfuscatoR: Designs and analysis of the obfuscation game
last

Get the last element of a vector
calculate_payouts

Calculate payouts
generate_designs

Generate obfuscation designs
construct_design

Function to create a rule-action matrix
check_design_opt

Check design options
calc_payout_dm

Calculate expected payout to the decision maker
calc_pr_guess

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

Calculate Shannon's Entropy
calc_payout_obs

Calculate expected payout to the observer
calc_pr_rk_aj

Calculate Pr(r_k|a_j)
calculate_entropy

Calculate the entropy of each action in the design