Skip to content
Prev 313645 / 398513 Next

A question on list and lapply

What about:
lapply(Dat[names(Dat) != "P"], My_Function)

You could use %in% if you actually want to match a longer set of names.

Sarah


On Fri, Dec 14, 2012 at 1:58 PM, Christofer Bogaso
<bogaso.christofer at gmail.com> wrote:
--
Sarah Goslee
http://www.functionaldiversity.org