Learn R Programming

GaussSuppression (version 0.9.6)

GetDefault: Get default value of a function

Description

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

Usage

GetDefault(fun, parameter, ifnotfound = NULL)

Value

The default parameter, possibly evaluated.

Arguments

fun

A function

parameter

parameter name

ifnotfound

Details

The result is evaluated if is.name returns TRUE.

Examples

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

Run the code above in your browser using DataLab