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 whichfgets optimized.This can only be
numericarguments.Can be
NULL(default), then it is the first argument off.- npar
[
integer()]
The length(s) of the target argument(s).Must be specified if more than two target arguments are specified via the
targetargument.Can be
NULLif there is only one target argument, in which casenparis set tolength(initial).
