cgeneric-class {INLAtools}R Documentation

The cgeneric class for cgeneric().

Description

The cgeneric class for cgeneric().

Usage

## S3 method for class 'character'
cgeneric(
  model,
  debug = FALSE,
  package,
  useINLAprecomp = TRUE,
  libpath = NULL,
  ...
)

cgeneric_libpath(fName, package, useINLAprecomp = FALSE, debug = FALSE)

Arguments

model

object class for what a cgeneric method exists. E.g., if it is a character, a specific function will be called: cgeneric("iid", ...") calls cgeneric_iid(...)

debug

integer, used as verbose in debug.

package

character giving the name of the package that contains the cgeneric model.

useINLAprecomp

logical, indicating if it is to use the shared object previously copied and compiled by INLA.

libpath

character, to inform the full path to the shared dynamic library object (this override the arguments useINLAprecomp and package).

...

additional arguments passed to to methods. Some arguments can be used to define specific behavior, such as debug (integer, used as verbose in debug), useINLAprecomp (logical, indicating if it is to use the shared object previously copied and compiled by INLA), package (character used if useINLAprecomp is TRUE, with the package name to build the path) and libpath (character, with the path to the shared dynamic library object: this override useINLAprecomp and package).

fName

character with the name of the function used to build the cgeneric model.

Details

Method for when model is a character. E.g. cgeneric(model = "generic0") calls cgeneric_generic0

Value

character containing the path to the shared lib

Functions


[Package INLAtools version 0.0.4 Index]