Skip to content
Prev 7101 / 63424 Next

should lapply preserve attributes?

On 19 Mar 2002, Timothy H. Keitt wrote:

            
No, it would be positively harmful.  X might be a data frame, or a time
series .., but rval is only guaranteed to be the same length as X.  If you
know more, adjust the object returned by lapply.