what are you trying to do? Break the problem down make it
reproducible and then maybe we can help.
stephen
On Thu, Oct 23, 2008 at 9:10 AM, Alex99 <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a question about functions. I have two functions:
>
> Sampling=function(fname,Total,nSample,nP
On Thu, Oct 23, 2008 at 9:10 AM, Alex99 <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a question about functions. I have two functions:
>
> Sampling=function(fname,Total,nSample,nPatient){..return(list(Gmean,Gsd))}
>
> Power=function(alfa,m1,m2,s1,s2,n1,n2){return(powe)}
>
> I want
See
?with
also
?do.call
Use of the latter will need to have the names of the returned value match
those of formals( Power )
HTH,
Chuck
On Thu, 23 Oct 2008, Alex99 wrote:
Hi everyone,
I have a question about functions. I have two functions:
Sampling=function(fname,T
Hi everyone,
I have a question about functions. I have two functions:
Sampling=function(fname,Total,nSample,nPatient){..return(list(Gmean,Gsd))}
Power=function(alfa,m1,m2,s1,s2,n1,n2){return(powe)}
I want to use "Gmean" and "Gsd" which are the returned values from
"Sampling" function,
4 matches
Mail list logo