Skip to content
Prev 280963 / 398503 Next

sapply Call Returning " the condition has length > 1" Error

Tell us what you want to do, not how you want to do it.  What is the
problem you are trying to solve?  You can create your own
function/code within the 'apply' to process one element of the vector
as a time.  What is the output that you expect?  There is (almost)
always a way of doing it, as long as we know what you want to do.
On Tue, Dec 27, 2011 at 3:34 PM, Alex Zhang <alex.zhang at ymail.com> wrote: