nlmUnscalePar: Unscale an nlm-family parameter vector back to the natural...

View source: R/RcppExports.R

nlmUnscaleParR Documentation

Unscale an nlm-family parameter vector back to the natural scale

Description

Converts a parameter vector from the estimation (scaled) scale used by the currently loaded nlm-family problem back to the natural scale, using the scaling that nlmSetup() installed. Exported so that external engines driving the nlm-family objective (e.g. babelmixr2's FME-based methods) do not have to reach into the namespace for it (#940).

Usage

nlmUnscalePar(p)

Arguments

p

Numeric parameter vector on the estimation scale; its length must match the loaded problem's number of parameters.

Details

An nlm-family problem must be loaded (via the internal .nlmSetupEnv()/nlmSetup() path) when this is called; the scaling is part of that problem's state.

Value

A numeric vector of the same length (names preserved) on the natural scale.

Author(s)

Matthew L. Fidler


nlmixr2est documentation built on Sept. 20, 2026, 9:08 a.m.