mmstat.getValues {HKRbook}R Documentation

mmstat.getValues

Description

mmstat.getValues returns a list with named elements. If the parameter is NULL then a default value stored local will be used. mmstat.getValue returns a value. If the parameter is NULL or NA then def will be returned

Usage

mmstat.getValues(local, ...)

mmstat.getValue(val, def)

Arguments

local

list: default values for the named parameter

...

list of named parameters

val

value for a parameter

def

default value for a parameter

Value

a list of requested parameters

Examples

def <- list(a=3)
mmstat.getValues(def, b=3, a=NULL)
mmstat.getValue(NA, 5)
mmstat.getValue(NULL, 5)
mmstat.getValue(3, 5)

[Package HKRbook version 0.1.3 Index]