Skip to content
Prev 56319 / 398500 Next

sapply behavior

Elizabeth Purdom wrote:

            
It is this coercion to the data frame that is injecting a list-like 
property into the result.  Try your script without that line and it will 
work as you expect.
The best thing to do in a situation like this is to use the str function 
to see the details of the structure of the object.