privacytoolsproject / PSI-Library

R library of differentially private algorithms for exploratory data analysis
6 stars 7 forks source link

Merge together FuncArgs, FunArgs #45

Closed globusharris closed 5 years ago

globusharris commented 5 years ago

getFunArgs() is a method of the mechanism class which takes an input target function and finds the arguments of that target function which are in the class fields and returns the associated field values. Similarly getFuncArgs is a utility function which takes as input a target function and a named list, and returns the values in the list which match arguments to the target function. Since both have similar code, perform similar purposes, and because their nearly identical naming leads to bad code readability, they should be merged together.

globusharris commented 5 years ago

This is implemented in pull request #46