format_params: Format a named numeric vector as "name (symbol) = val, ..."

View source: R/utils.R

format_paramsR Documentation

Format a named numeric vector as "name (symbol) = val, ..."

Description

Format a named numeric vector as "name (symbol) = val, ..."

Usage

format_params(params, digits = 4, labels = NULL)

Arguments

params

Named numeric vector of parameter estimates.

digits

Number of decimal places.

labels

Optional character vector of Greek/symbol labels in the same order as params (e.g. c("k", "lambda") for Weibull). When supplied each term is rendered as name (symbol) = value.

Value

Single character string.


FitVerse documentation built on Dec. 1, 2026, 1:07 a.m.