Re: [R] apply and functions with many arguments

2011-10-06 Thread Alaios
s to work. I am not sure though if there is a strict performance penalty. B.R Alex From: Paul Hiemstra Cc: "R-help@r-project.org" Sent: Thursday, October 6, 2011 10:07 AM Subject: Re: [R] apply and functions with many arguments On 10/06/2011 08:03 AM, Alai

Re: [R] apply and functions with many arguments

2011-10-06 Thread Paul Hiemstra
On 10/06/2011 08:03 AM, Alaios wrote: > Dear all, > I would like to use the following function > > fitdist(data, distr, method=c("mle", "mme", "qme", "mge"), > start=NULL, fix.arg=NULL, ...) > > > for many different distr values like distr=c("norm","lnorm","pois") (just a > small example) > and ta

[R] apply and functions with many arguments

2011-10-06 Thread Alaios
Dear all, I would like to use the following function fitdist(data, distr, method=c("mle", "mme", "qme", "mge"), start=NULL, fix.arg=NULL, ...) for many different distr values like distr=c("norm","lnorm","pois") (just a small example) and take back into a list the parameter name which is what is