Skip to contents

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

Usage

GetDefault(fun, parameter, ifnotfound = NULL)

Arguments

fun

A function

parameter

parameter name

ifnotfound

Value

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