prms_to_str {dRiftDM} | R Documentation |
Format Parameters as String
Description
Converts parameter values into a formatted string.
Usage
prms_to_str(x, prms = NULL, round_digits = NULL, sep = "=>", collapse = "\n")
Arguments
x |
a drift_dmobject or character vector for labels. |
prms |
Numeric vector of values (used if |
round_digits |
Rounding precision (default set by
|
sep |
Separator between names and values (default: "=>"). |
collapse |
String to separate each name-value pair (default: "\n"). |
Value
A single formatted string with parameter names and values. (e.g., "a => 0 \n b => 1")
See Also
coef.drift_dm()
, as the numeric
vector provided by this call is used when x
is of type drift_dm
[Package dRiftDM version 0.2.2 Index]