Learn R Programming

poissonMT (version 0.3-5)

poissonMTwd: Set and get working directory for the package.

Description

Set and get working directory for the package. This working directory is used to store some objects needed during the estimation process.

Usage

poissonMTsetwd(path)

poissonMTgetwd()

Arguments

path

A valid path name for your OS where you have write/read permission.

Value

poissonMTsetwd does not return any object, poissonMTsetwd return a path or NULL.

Details

poissonMTsetwd is just a wrapper for options("poissonMT:wd" = path) while poissonMTsetwd is just a wrapper for getOption("poissonMT:wd", NULL).

See Also

glmrobMT, glmrob and cubinf

Examples

Run this code
# NOT RUN {
  poissonMTsetwd(tempdir())
  poissonMTgetwd()
# }

Run the code above in your browser using DataLab