GetDefault function

Get default value of a function

Get default value of a function

The value may be found in a spec. See PackageSpecs.

GetDefault(fun, parameter, ifnotfound = NULL)

Arguments

  • fun: A function
  • parameter: parameter name
  • ifnotfound:

Returns

The default parameter, possibly evaluated.

Details

The result is evaluated if is.name returns TRUE.

Examples

fun1 <- GetDefault(GaussSuppressionFromData, "candidates") fun2 <- GetDefault(SuppressFewContributors, "primary") fun3 <- GetDefault(SuppressDominantCells, "primary")