goes through a list (containing a combination
of single- and multiple-element vectors) and
removes redundant names that will make trouble
for mle
Usage
namedrop(x)
Value
the original list, with names removed/added
Arguments
x
a list of named or unnamed, typically numeric, vectors
Author
Ben Bolker
Details
examines each element of x. If the element has length
one and is a named vector, the name is removed; if length(x)
is greater than 1, but all the names are the same, the vector
is renamed