GetDefault: Get default value of a function

View source: R/GetDefault.R

GetDefaultR Documentation

Get default value of a function

Description

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

Usage

GetDefault(fun, parameter, ifnotfound = NULL)

Arguments

fun

A function

parameter

parameter name

ifnotfound

Details

The result is evaluated if is.name returns TRUE.

Value

The default parameter, possibly evaluated.

Examples

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

GaussSuppression documentation built on April 3, 2025, 7:54 p.m.