This helper function splits the solution by target parameters (if provided), which is used for the output.
Arguments
- estimate
[
numeric]
A parameter vector.- target
[
character()|NULL]
The name(s) of the argument(s) over whichfis optimized.This can only be
numericarguments.If
NULL(default), the first argument offis optimized.- npar
[
integer()]
The length(s) of the target argument(s).Must be specified if more than one target argument is specified via the
targetargument.Can be
NULLif there is only one target argument, in which casenparis set tolength(initial).
