getNsObject {bsitar}R Documentation

Check and get namespace object if exists

Description

Check and get namespace object if exists

Usage

getNsObject(object, namespace = NULL, envir = NULL)

Arguments

object

An object to be retrieved. Note that object must be a symbol and not a character string.

namespace

A character string specifying the namespace to be checked.

envir

An environment to be used (default NULL).

Value

An object of same class as input object.

Author(s)

Satpal Sandhu satpal.sandhu@bristol.ac.uk

Examples



# Check whether model fit object 'berkeley_exfit' exists
 berkeley_exfit <- getNsObject(berkeley_exfit)



[Package bsitar version 0.2.1 Index]