Translate a standard formula into a NSGEV formula.

transFormula(formula, parnm)

Arguments

formula

The formula to be translated.

parnm

The name of the parameter to use, i.e. "mu,""sigma" or "xi".

Value

A formula with the parameters displayed, suitably named. The parameter names are attached to the result as an attribute.

Author

Yves Deville

Examples

transFormula(~time, parnm = "mu") 
#> ~mu_0 + mu_time * time
#> attr(,"parNames")
#> [1] "mu_0"    "mu_time"
#> <environment: 0x558202dba7a8>