Re: [R] holding argument(s) fixed within lapply

2013-03-22 Thread Benjamin Tyner
- lapply(X=mylist2, FUN=do.call, what=function(...) f2(y=Y, ...)) Best, Nello -Original Message- Date: Tue, 12 Mar 2013 22:37:52 -0400 From: Benjamin Tyner bty...@gmail.com To: r-help@r-project.org Subject: Re: [R] holding argument(s) fixed within lapply Message

Re: [R] holding argument(s) fixed within lapply

2013-03-14 Thread Benjamin Tyner
:37:52 -0400 From: Benjamin Tyner bty...@gmail.com To: r-help@r-project.org Subject: Re: [R] holding argument(s) fixed within lapply Message-ID: 513fe680.2070...@gmail.com Content-Type: text/plain; charset=iso-8859-1 Apologies; resending in plain text... Given a function with several

Re: [R] holding argument(s) fixed within lapply

2013-03-13 Thread Blaser Nello
: [R] holding argument(s) fixed within lapply Message-ID: 513fe680.2070...@gmail.com Content-Type: text/plain; charset=iso-8859-1 Apologies; resending in plain text... Given a function with several arguments, I would like to perform an lapply (or equivalent) while holding one or more arguments fixed

[R] holding argument(s) fixed within lapply

2013-03-12 Thread Benjamin Tyner
|Hello, Given a function with several arguments, I would like to perform an lapply (or equivalent) while holding one or more arguments fixed to some common value, and I would like to do it in as elegant a fashion as possible, without resorting to wrapping a separate wrapper for the function if

Re: [R] holding argument(s) fixed within lapply

2013-03-12 Thread Benjamin Tyner
Apologies; resending in plain text... Given a function with several arguments, I would like to perform an lapply (or equivalent) while holding one or more arguments fixed to some common value, and I would like to do it in as elegant a fashion as possible, without resorting to wrapping a separate