asMTEString {MoTBFs}R Documentation

Converting MTEs to strings

Description

This function builds a string with the structure of an '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


param <- -5.8
asMTEString(param)

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

[Package MoTBFs version 1.4.1 Index]