MoTBFs (version 1.2)

asMTEString: Parameters to MTE String

Description

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

Usage

asMTEString(parameters, num = 5)

Arguments

parameters

A "numeric" vector containing the coefficients.

num

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

Value

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

Examples

Run this code
# NOT RUN {
param <- -5.8
asMTEString(param)

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

Run the code above in your browser using DataCamp Workspace