Class-JointMoTBF: Class '"jointmotbf"'

Class-JointMoTBFR Documentation

Class "jointmotbf"

Description

Defines an object of class "jointmotbf" and other basic functions for manipulating "jointmotbf" objects.

Usage

jointmotbf(x = 0)

## S3 method for class 'jointmotbf'
print(x, ...)

## S3 method for class 'jointmotbf'
as.character(x, ...)

## S3 method for class 'jointmotbf'
as.list(x, ...)

is.jointmotbf(x, class = "jointmotbf")

Arguments

x

Preferably, a list containing an expression and other posibles elements like a "numeric" matrix with the domain of the variables, the dimension of the variables, the number of iterations needed to solve the optimization problem, among others. Any R object can be entered, but the utility of this function is not to transform objects of other classes into objects of class "jointmotbf".

...

Additional arguments, not needed by these methods.

class

By default is "jointmotbf".

See Also

jointMoTBF

Examples

## n.parameters is the product of the dimensions
dim <- c(3,3)
param <- seq(1,prod(dim), by=1)
## Joint Function 
f <- list(Parameters=param, Dimensions=dim)
jointF <- jointMoTBF(f)

print(jointF) ## jointF
as.character(jointF)
as.list(jointF)
is(jointF)
is.jointmotbf(jointF)

MoTBFs documentation built on April 18, 2022, 5:06 p.m.