Skip to contents

Get a set of helper functions from an object

Usage

get_R_helpers(x, hnames, ...)

# S3 method for KMR
get_R_helpers(x, hnames = NA, mdb = NULL, ...)

# S3 method for MDB
get_R_helpers(x, hnames = NA, kmr, ...)

Arguments

x

an object with helpers

hnames

the names of the helper sets. If NA (default), all available are sourced.

...

method specific parameters

mdb

An MDB object to make available in helper environment

kmr

an MDB object with KM requirements

Value

Return a list of functions

Details

x and mdb objects are made available in helpers environment as 'THISKMR' and 'THISMDB' objects respectively and can be used as such within helpers code.

x and kmr objects are made available in helpers environment as 'THISMDB' and 'THISKMR' objects respectively and can be used as such within helpers code.