Learn R Programming

MoTBFs (version 1.4.2)

asMTEString: Converting MTEs to strings

Description

This function builds a string with the structure of an 'mte' function.

Usage

asMTEString(parameters, num = 5)

Value

A "character" string with an 'mte' structure.

Arguments

parameters

A "numeric" vector containing the coefficients.

num

A "numeric" value which contains the denominator of the coefficient in the exponential.

Examples

Run this code

param <- -5.8
asMTEString(param)

param <- c(5.2,0.3,-3,4)
asMTEString(param)
 

Run the code above in your browser using DataLab