Package: obfuscatoR 0.2.2
Erlend Dancke Sandorf
obfuscatoR: Obfuscation Game Designs
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, <doi:10.1016/j.mathsocsci.2020.10.002>.
Authors:
obfuscatoR_0.2.2.tar.gz
obfuscatoR_0.2.2.zip(r-4.5)obfuscatoR_0.2.2.zip(r-4.4)obfuscatoR_0.2.2.zip(r-4.3)
obfuscatoR_0.2.2.tgz(r-4.4-any)obfuscatoR_0.2.2.tgz(r-4.3-any)
obfuscatoR_0.2.2.tar.gz(r-4.5-noble)obfuscatoR_0.2.2.tar.gz(r-4.4-noble)
obfuscatoR_0.2.2.tgz(r-4.4-emscripten)obfuscatoR_0.2.2.tgz(r-4.3-emscripten)
obfuscatoR.pdf |obfuscatoR.html✨
obfuscatoR/json (API)
NEWS
# Install 'obfuscatoR' in R: |
install.packages('obfuscatoR', repos = c('https://edsandorf.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/edsandorf/obfuscator/issues
Last updated 1 years agofrom:eec6f2cd9c. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 13 2024 |
R-4.5-win | OK | Nov 13 2024 |
R-4.5-linux | OK | Nov 13 2024 |
R-4.4-win | OK | Nov 13 2024 |
R-4.4-mac | OK | Nov 13 2024 |
R-4.3-win | OK | Nov 13 2024 |
R-4.3-mac | OK | Nov 13 2024 |
Exports:calculate_entropycalculate_payoutsextract_attrgenerate_designslastprint_designprint_entropyprint_payoutsave_design
Dependencies:bitbit64clicliprcpp11crayonfansigluehmslifecyclemagrittrmatrixStatspillarpkgconfigprettyunitsprogressR6RcppRcppArmadilloRcppGSLRcppParallelRcppZigguratreadrRfastrlangstringistringrtibbletidyselecttzdbutf8vctrsvroomwithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Print package startup message | .onAttach |
Calculate Shannon's Entropy | calc_entropy |
Calculate expected payout to the decision maker | calc_payout_dm |
Calculate expected payout to the observer | calc_payout_obs |
Calculate Pr(a_j|r_k) | calc_pr_aj_rk |
Calculate the probability that the observer will try to guess the rule | calc_pr_guess |
Calculate Pr(r_k|a_j) | calc_pr_rk_aj |
Calculate the entropy of each action in the design | calculate_entropy |
Calculate payouts | calculate_payouts |
Check design options | check_design_opt |
Function to create a rule-action matrix | construct_design |
Extract attributes | extract_attr |
Generate obfuscation designs | generate_designs |
Get the last element of a vector | last |
Prints the design | print_design |
Prints the entropy of the different actions | print_entropy |
Print the payouts | print_payout |
Save obfuscation designs | save_design |