Closed sgibb closed 4 years ago
Thanks @sgibb for the input - and I prefer the current approach :) - which means we have to wait for @lgatto to vote on this.
I in general don't like list
parameters because IMHO they are less user friendly and more difficult to define/pass and check. Also, directly naming the parameters makes them more explicit (and it's easier to document.
@lgatto , could you please also have a look at this issue? I think we should settle this also before submission.
Submission is done. So we keep it that way.
Currently our
plotSpectra*
functions have thelabel*
arguments (labelPos
,labelAdj
, ...)Even in base
R
there are at least two paradigms for solving the problem of equally named arguments for multiple functions:legend
:box.col
,title.col
,text.col
(similar to our current approach)dendrogram
:edgePar
(a namedlist
, e.g.edgePar = list(col = "red", ...)
)Do we want to keep our current approach:
Or switch to something like
I would prefer the named
list
approach.